Docker🔗
= ("[Website](" + this.url + ")") | = ("[Documentation](" + this.docs + ")") | = ("[Source](" + this.source + ")")
Important Commands
1 2 3 4 5 | |
Images🔗
Using an image checksum in the definition can be used to verify integrity and downloading a modified container.2
Installation🔗
Rootless🔗
https://docs.docker.com/engine/security/rootless/
- creates a new context
- running root and rootless Docker concurrently shouldn’t be a problem anymore, but the context might have to be specified, as the rootless setup makes rootless Docker default1
Keep user containers alive after logout
1 2 3 4 5 6 | |
^4d425a
Disadvantages and Limitations🔗
https://docs.docker.com/engine/security/rootless/#known-limitations
https://linuxhandbook.com/rootless-docker/
Using Slirp4netns mode solves this problem, and shows the original address of the request. But it also has two problems.
- IPv6 not supported.
- speed is much slower (about 7Gbps).
openSUSE🔗
newuidmapandnewgidmapalready available, packageuidmapdoesn’t exist- installed
fuse-overlayfsas recommended - Docker package from distro repos didn’t have script
dockerd-rootless-setuptool.sh, so I am trying to install a package provided by Docker - run (see openSUSE forum)
1 2 3 4 | |
The openSUSE package rootlesskit doesn’t include all the scripts other repo’s packages provide.
Glossary🔗
| Term | Description | Similar | Example |
|---|---|---|---|
| image | |||
| registry | place to store images | harbor | |
| context | like an environment (incl. endpoint) | docs |