User Tools

Site Tools


manuals:vps:vpsadminos:docker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
manuals:vps:vpsadminos:docker [2021/01/02 18:05]
Aither docker feature not needed
manuals:vps:vpsadminos:docker [2022/04/17 13:33] (current)
Aither Deleted docker-in-docker
Line 81: Line 81:
 <​code>​ <​code>​
 docker run -it alpine ping -c 3 vpsfree.cz docker run -it alpine ping -c 3 vpsfree.cz
-</​code>​ 
- 
-===== Docker-in-Docker ===== 
-Docker-in-Docker does not work by itself, because Docker is trying to connect ''/​sys/​kernel/​security'',​ which is not accessible in VPS because of kernel restriction. 
-BUT there is one-line hack for this, with volume in bind-mount: 
- 
-<​code>​ 
-docker run -v /​sys/​kernel/​security:/​sys/​kernel/​security ... 
 </​code>​ </​code>​
  
manuals/vps/vpsadminos/docker.txt · Last modified: 2022/04/17 13:33 by Aither