Установка docker-compose

sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -m)" -o /usr/local/bin/docker-compose

 

sudo chmod +x /usr/local/bin/docker-compose

 

sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

 

 

docker-compose --version

 

 

___________________________________

Команды с консолию:

sudo curl -L "https://github.com/docker/compose/releases/download/1.25.5/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

chmod +x /usr/local/bin/docker-compose

sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

docker-compose -V

 

СОЗДАТЬ КОНТЕЙНЕР:

docker-compose up -d

docker ps -a