Containers
News and information about containers
Design Patterns
Docker Swarm
Podman
- Container Toolkit and Podman
- From Docker Compose to Kubernetes with Podman
- Podman and Kubernetes
sudo podman run --rm --runtime=nvidia nvidia/cuda:11.0-base nvidia-smi
Docker
- Install Docker on Ubuntu
- Dockerfile reference
- Develop with Docker
- How to setup Docker and Nvidia-Docker 2.0 on Ubuntu 18.04
- Running Linux apps in MacOS using docker
- How to show X11 windows with Docker on Mac
- Running xeyes in Docker
- Base image Docker
- Restart Docker:
service docker restart
- How to keep docker containers running
- Changing the entrypoint
- Processes in containers should not run as root
- Create a new image from a container’s changes
- Docker library
- What is the best way to pass AWS credentials to a Docker container?
- Pandoc Ubuntu Docker: a reference to learn more about Docker
- How to Use Docker Restart Policies to Keep Containers Running
- Using Alpine can make Python Docker builds 50× slower
- GPU support on docker-compose
- Docker Swarm
Getting started
- Install Docker Engine on Ubuntu
- Docker permission denied fix:
sudo usermod -aG docker ${USER}
orsudo chmod 666 /var/run/docker.sock
docker run hello-world
- Install nvidia-dcoker2
docker run --rm --gpus all nvidia/cuda:11.0-base nvidia-smi
- Set the default runtime
/etc/docker/daemon.json
:
{
"runtimes": {
"nvidia": {
"path": "nvidia-container-runtime",
"runtimeArgs": []
}
},
"default-runtime": "nvidia",
"runtimes": {
"nvidia": {
"path": "nvidia-container-runtime",
"runtimeArgs": []
}
}
}
Images
Learning
- Docker reference
- An Introduction to Docker
- Play with Docker
- Docker tips
- CyVerse Container Camp 2020
- Docker and Python
- Slash Docker?
- Awesome Docker
- Ahmad Rafiee: Docker training with DockerMe
Prune
- Remove all the images without a tag:
docker rmi $(docker images -f dangling=true -q)
- Remove images:
docker rmi $(docker images |grep "<none>"|awk '$1=="<none>" {print $3}')
- Prune the system:
docker system prune
- Check the /var/lib/docker folder:
sudo du -h --max-depth=1 /var/lib/docker
- Check storage with
sudo baobab
- How to clean up Docker
- Remove all the containers:
docker rm $(docker ps -a -q)
Applied Docker images
Heroku Buildpacks
Distroless containers
Docker on WSL2
Docker tools
Container Management
Portainer
Local Development Environment
Tools
Containerd
Registries
Singularity
Virtualization
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified 06.03.2022: Update Apps.md (98505d2)