Working through this tutorial on setting up ember-cli in a Docker container: http://ift.tt/1QEPOrz
Here are my steps:
- Created docker-compose.yml in an empty folder on the host machine
- Launched Docker Quickstart to get a terminal
- Changed to the folder with the .yml
- Ran the two docker-compose commands below from the terminal (added -d because without that you get a message that interactive mode is not supported)
- Ran docker ps -a to verify that the container was running
- Ran docker inspect CONTAINER_ID to find the ip address of the running container
- Found the IP address at an odd location (172.17.0.2)
- Attempted to access port 4200 on that IP from the host Windows machine browser and also from the Docker CL via curl but without success.
- Ran docker ps -a and found that both containers that had been instantiated had exited.
- Now if I try to start the container again it just exits immediately
docker-compose run -d --rm ember init docker-compose run -d --rm ember server
What am I missing to get up and running? Do I need to open ports on the Default VM running in Virtualbox? How do I diagnose why the container keeps exiting?
Aucun commentaire:
Enregistrer un commentaire