Howto install docker rhel8: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
install docker-compose: | install docker-compose: | ||
curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | ||
fix permissions: | |||
chmod +x /usr/local/bin/docker-compose | |||
verify docker-compose version: | |||
docker-compose --version |
Latest revision as of 18:42, 13 January 2021
install repo:
dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
install docker latest version:
dnf install docker-ce --nobest -y
start and enable docker service:
systemctl start docker systemctl enable docker
verify installed docker version:
docker --version
install docker-compose:
curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
fix permissions:
chmod +x /usr/local/bin/docker-compose
verify docker-compose version:
docker-compose --version