Information
We are currently investigating an issue with the editor of some pages. Please save your work and avoid to create new pages until this banner is gone.
...
Code Block | ||
---|---|---|
| ||
sudo apt update # Git LFS sudo apt install git-lfs # SELinux sudo apt install policycoreutils selinux-utils selinux-basics sudo selinux-activate sudo selinux-config-enforcing # Docker sudo apt install apt-transport-https ca-certificates curl software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" sudo apt install docker-ce sudo usermod -aG docker ${USER} # Docker Compose sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose |
...
To run a Docker container with ACS:
Code Block | ||
---|---|---|
| ||
sudo docker-compose run --name acs_centos7_env centos7 bash |
To open a shell inside the container
Code Block | ||
---|---|---|
| ||
sudo docker exec -it acs_centos7_env bash |
...