banner
DarianBlog

DarianBlog

达里安博客-专注于技术分享与交流的博客。博客致力于创造一个简单而直接的技术学习平台。
email

Install Docker and Docker-compose on Ubuntu

1. Install Docker#

wget -qO- get.docker.com | bash

1.1 Check Docker version#

docker -v

1.2 Set to start on boot#

systemctl enable docker

2. Install Docker-compose#

sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.