Docker - установка на CentOS 7

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск

Docker - установка на CentOS 7

# wget -qO- https://get.docker.com/ | sh
# sudo usermod -aG docker $(whoami)
# systemctl enable docker.service
# systemctl start docker
# ps uax | grep docker
root       139  0.2  0.9 731884 20940 ?        Ssl  12:36   0:00 /usr/bin/docker daemon -H fd://
root       156  0.0  0.3 237192  6592 ?        Ssl  12:36   0:00 docker-containerd -l /var/run/docker/libcontainerd/docker-containerd.sock --runtime docker-runc --start-timeout 2m


Проверяем версию docker:

# docker version
Client:
Version:      1.11.2
API version:  1.23
Go version:   go1.5.4
Git commit:   b9f10c9
Built:        Wed Jun  1 21:23:11 2016
OS/Arch:      linux/amd64  
Server: Version: 1.11.2 API version: 1.23 Go version: go1.5.4 Git commit: b9f10c9 Built: Wed Jun 1 21:23:11 2016 OS/Arch: linux/amd64