...
Code Block | ||
---|---|---|
| ||
[ec2-user@ip-xxx-xxx-xxx-xxx ~]$ sudo systemctl enable docker Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service to /usr/lib/systemd/system/docker.service. |
Code Block | ||
---|---|---|
| ||
[ec2-user@ip ~]$ sudo curl -L https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 42.4M 100 42.4M 0 0 6584k 0 0:00:06 0:00:06 --:--:-- 9534k
[ec2-user@ip ~]$ sudo chmod +x /usr/local/bin/docker-compose |