A collection of ready-to-use Dockerfile templates for various technologies and use cases
-
Go to the directory with the selected
Dockerfile:cd path/to/Dockerfile -
Build the image:
docker build -t image_name:latest . -
Create and run a container:
docker run -it \ --network=none \ -v /path/on/host:/path/in/container \ --name container_name \ image_nameNote: All flags are optional
-
Start and attach to an existing container:
docker start -ai container_name
.
├── debian
│ ├── base
│ │ └── Dockerfile
│ └── git_server
│ ├── Dockerfile
│ └── startup.sh
├── python
│ ├── app.py
│ └── Dockerfile
├── rockylinux
│ └── Dockerfile
└── ubuntu
├── flask
│ └── Dockerfile
├── azure_terraform
│ └── Dockerfile
└── ns3
└── Dockerfile