My basic docker try
Docker Usage
- Install Docker Engine: https://www.docker.com/products/docker-engine
- Build docker image:
cd <to project dir>
docker build -t my-test-app --no-cache .
(Don't forget the .(dot))
- Run the Application:
docker run -d -p 3006:8080 my-test-app
- Navigate to http://localhost:3006 to load the application.
- Stopping the application:
docker ps
- Note the CONTAINER_ID column.
docker kill _CONTAINER_ID_
- Delete Image if needed:
docker images
- Note the IMAGE ID column.
docker rmi _IMAGE ID_