- Prepare docker file
- Build docker image from docker file (command.sh)
- Run container from docker file (command.sh)
Run prepared command in command.sh
- bash command.sh
- open browser and check at: http://localhost:8080
- Remove container
- stop container: docker stop my-httpd-container
- remove container: docker rm my-httpd-container
- Remove images
- docker images
- docker rmi my-httpd-image
- Build image & run container again
- bash command.sh