flagflag  
4: 2020-08-15 (Sat) 00:45:49 iseki source 5: 2020-08-15 (Sat) 14:38:22 iseki source
Line 12: Line 12:
~ ~
-**導入 [#qdfa05a8]+** Install [#db912155] 
 + 
 +**** CentOS8 の場合の事前準備 (2020 8/15) [#u8e9f2bb] 
 + # dnf install container-selinux 
 + # wget https://download.docker.com/linux/centos​/7/x86_64/stable/Packages/containerd.io-​1.2.6-3.3.el7.x86_64.rpm 
 + # rpm -ih containerd.io-1.2.6-3.3.el7.x86_64.rpm 
 + 
 +- containerd.io が runc と競合する場合は 
 + # rpm -e buildah 
 + # rpm -e cockpit-podman 
 + # rpm -e podman 
 + # rpm -e runc 
 + # rpm -ihv containerd.io-1.2.6-3.3.el7.x86_64.rpm 
 + 
 +- 必要なら containerd.io をインストール後に入れ直す. 
 + # rpm -e podman 
 + # rpm -e cockpit-podman 
 + # rpm -e buildah 
 + 
 +#br 
 + 
 +**** Install & Getting Start [#nae22c6e]
 # wget -qO- https://get.docker.com/ | sh  # wget -qO- https://get.docker.com/ | sh
 # systemctl start docker  # systemctl start docker
 # docker run hello-world  # docker run hello-world
 +#br
**CentOSで使ってみる [#e8e57f9e] **CentOSで使ってみる [#e8e57f9e]
 # docker pull centos  # docker pull centos
- # sudo docker images+ # docker images
 # docker run -i -t centos /bin/bash  # docker run -i -t centos /bin/bash
 (DockerBash)#  (DockerBash)#
Line 32: Line 54:
 # docker attach コンテナID  # docker attach コンテナID
#br #br
-*** CentOS8 でソースコードからコンパイルしてみる [#b45333e7]+ 
 +*** ソースコードからコンパイルしてみる [#b45333e7] 
 +- Docker のビルドには Docker が必要らしい
#br #br


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

41 user(s) are online (2 user(s) are browsing xpwiki)

Members: 0
Guests: 41

more...

Access Counter

Today : 1353135313531353
Yesterday : 4345434543454345
Total : 2365849423658494236584942365849423658494236584942365849423658494
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com