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 revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
manuals:vps:vpsadminos:docker [2020/10/24 20:56] – [Installation] tbabejmanuals: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:vps:vpsAdmin]]. If you cant see these features, you are **not** running on [[manuals:vps:vpsAdminOS]] and therefore need to [[manuals:vps:management|create one]] 
  
 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:
 <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: 2023/02/02 23:50 by parolek