This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
manuals:vps:vpsadminos:docker [2020/10/24 20:56] – [Installation] tbabej | manuals:vps:vpsadminos:docker [2022/04/17 11:33] – Deleted docker-in-docker Aither | ||
---|---|---|---|
Line 6: | Line 6: | ||
===== Installation ===== | ===== Installation ===== | ||
- | First of all we need to enable **Docker** and **FUSE** feature in VPS overview on [[manuals: | ||
As there are not everytime latest packages in distribution repos, we recommend to instead use the docker.com ones. Installation of these can be done easily on: | As there are not everytime latest packages in distribution repos, we recommend to instead use the docker.com ones. Installation of these can be done easily on: | ||
Line 82: | Line 81: | ||
< | < | ||
docker run -it alpine ping -c 3 vpsfree.cz | docker run -it alpine ping -c 3 vpsfree.cz | ||
- | </ | ||
- | |||
- | ===== Docker-in-Docker ===== | ||
- | Docker-in-Docker does not work by itself, because Docker is trying to connect ''/ | ||
- | BUT there is one-line hack for this, with volume in bind-mount: | ||
- | |||
- | < | ||
- | docker run -v / | ||
</ | </ | ||