This is a workshop to learn about Docker. you have a service that need to run on a docker container.
-
Go the file
Dockerfileand complete the instructions. -
build your image with the
tag:<your username>/workshop:latest -
run your container with the
tag:<your username>/workshop:latestand expose the port3000 -
Go to your browser and open the url
http://localhost:3000and follow the site instructions. -
When you finish, stop and remove your container.
If you are getting stuck on one you can checkout to the solution branch abd you will get the solution to all of the challenges
this means you have another docker process that have connected to the port 3000, you can fix this by removing all the docker containers on you machine, like so:
docker rm -f $(docker ps -aq)