Docker Bootcamp- 1 min
Provide a sample example code for Dockerfiles to build GOLang and Python apps.
Please refer to Makefile and Dockerfile for install and build instructions.
- Compile Server
make build make build-container
- Test Code
- Docker commands
docker ps -a -q docker stop $(docker ps -a -q) docker rm $(docker ps -a -q) open -a Docker docker version
- Purging All Unused or Dangling Images, Containers, Volumes, and Networks
docker system prune docker system prune -a docker image prune
- to remove all images:
docker rmi -f $(docker images -a -q) docker system prune --all docker system prune --all --volumes
- List Docker CLI commands
docker docker container --help
- Display Docker version and info
docker --version docker version docker info
- Execute Docker image
docker run hello-world
- List Docker images
docker image ls
- List Docker containers (running, all, all in quiet mode)
docker container ls docker container ls --all docker container ls -aq
Follow README.md for more details.
I hope that these references will make getting started extremely easy.
If you are curious look for other topics like
- DockerHub Repository
- Private / Public Registry
- Local Registry
DISCLAIMER: All views expressed on this site are my own and do not represent the opinions of any entity whatsoever with which I have been, am now, or will be affiliated. Any collateral used is referenced in the Web Resources or others sections on this page. The information provided on this website does not constitute investment advice, financial advice, or trading advice.