RedHat 7.4安裝Docker
作業系統版本:
- Red Hat Enterprise Linux Server release 7.4 (Maipo)
- vi /etc/yum.repos.d/docker.repo
[dockerrepo]
name=Docker Repository
baseurl=
enabled=1
gpgcheck=0
- yum install docker-engine -y
- systemctl start docker
-
[root@ip-172-31-29-22 yum.repos.d]# docker version
Client:
Version: 17.05.0-ce
API version: 1.29
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 22:06:25 2017
OS/Arch: linux/amd64
Server:
Version: 17.05.0-ce
API version: 1.29 (minimum version 1.12)
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 22:06:25 2017
OS/Arch: linux/amd64
Experimental: false
-
[root@ip-172-31-29-22 yum.repos.d]# docker info
-
Containers: 0
-
Running: 0
-
Paused: 0
-
Stopped: 0
-
Images: 0
-
Server Version: 17.05.0-ce
-
Storage Driver: overlay
-
Backing Filesystem: xfs
-
Supports d_type: true
-
Logging Driver: json-file
-
Cgroup Driver: cgroupfs
-
Plugins:
-
Volume: local
-
Network: bridge host macvlan null overlay
-
Swarm: inactive
-
Runtimes: runc
-
Default Runtime: runc
-
Init Binary: docker-init
-
containerd version: 9048e5e50717ea4497b757314bad98ea3763c145
-
runc version: 9c2d8d184e5da67c95d601382adf14862e4f2228
-
init version: 949e6fa
-
Security Options:
-
seccomp
-
Profile: default
-
Kernel Version: 3.10.0-693.11.6.el7.x86_64
-
Operating System: Red Hat Enterprise Linux Server 7.4 (Maipo)
-
OSType: linux
-
Architecture: x86_64
-
CPUs: 1
-
Total Memory: 990.8MiB
-
Name: ip-172-31-29-22.ap-northeast-1.compute.internal
-
ID: 6C4S:W4VA:MSIK:TGZC:BHYU:3AHR:FJX7:44SO:467J:4ZNL:7T67:3GYK
-
Docker Root Dir: /var/lib/docker
-
Debug Mode (client): false
-
Debug Mode (server): false
-
Registry: https://index.docker.io/v1/
-
Experimental: false
-
Insecure Registries:
-
127.0.0.0/8
- Live Restore Enabled: false
1.預設是非開機自啟的
-
[root@ip-172-31-29-22 yum.repos.d]# systemctl is-enabled docker
- disabled
- systemctl enable docker
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20893244/viewspace-2149945/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- redhat安裝dockerRedhatDocker
- centOS(同redhat)安裝 dockerCentOSRedhatDocker
- readhalt7.4 安裝 dockerDocker
- redhat7.4下離線安裝MHA0.58Redhat
- redhat 7.4安裝mysql 8.0.18 source code原始碼的一些思考RedhatMySql原始碼
- Docker 安裝 PHP7.4 GD擴充套件DockerPHP套件
- RedHat7.4安裝在個人電腦(筆記本)中安裝遇到的問題總結Redhat筆記
- Linux(01):RedHat 7.6 安裝LinuxRedhat
- docker 安裝 Laravel 環境 (nginx mariadb PHP7.4)--centos7.3DockerLaravelNginxPHPCentOS
- RedHat FC5安裝xmmsRedhat
- PostgreSQL:Redhat 8.5 + PostgreSQL 14.5 安裝SQLRedhat
- CentOS 7.4 安裝 redis5.0CentOSRedis
- 阿里雲centos 7.4 安裝pptp阿里CentOSpptp
- PHP-安裝-PHP7.4PHP
- Redhat 7 下安裝達夢7Redhat
- RedHat 7.6作業系統安裝Redhat作業系統
- CentOS 7.4 下安裝Python3.6CentOSPython
- Red Hat Enterprise Linux Server 7.4 安裝LinuxServer
- centos 7.4靜默安裝oracle 19.3CentOSOracle
- redhat 5.4下安裝MYSQL全過程RedhatMySql
- readhalt7.4 安裝 oracle11gOracle
- CentOS7.4 部署 DockerCentOSDocker
- RedHat上靜默安裝Oracle11gRedhatOracle
- redhat7.2靜默安裝Oracle11.2.0.4RedhatOracle
- redhat7.6安裝Oracle11G RACRedhatOracle
- docker 安裝Docker
- 安裝dockerDocker
- 安裝 dockerDocker
- docker安裝及解除安裝Docker
- CentOS 7.4安裝redis 4.0詳細步驟CentOSRedis
- Centos 7.4_64位系統安裝指南CentOS
- MacOS12安裝PHP7.4、composer、NginxMacPHPNginx
- 在Linux(Redhat/CentOS)下安裝MySQL之yum(rpm)線上安裝方式LinuxRedhatCentOSMySql
- 在Linux(Redhat/CentOS)下安裝MySQL之yum(rpm)離線安裝方式LinuxRedhatCentOSMySql
- Centos7或RedHat7下安裝MysqlCentOSRedhatMySql
- SYBASE12.5.2 FOR REDHAT AS4.0 安裝步驟(zt)Redhat
- [雲原生]Docker - 安裝&解除安裝Docker
- Docker for Linux 安裝DockerLinux
- docker安裝使用Docker