Here are all the basic commands you need to know to work with Docker in the development environment:
-
build an image named
myAppImage
from the current project folder (Dockerfile
must be present):$ docker build . -t myAppImage
-
run a container named
myAppContainer
from the image namedmyAppImage
. In interactive mode (pressingCtrl+C
will stop it):