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 | ||
---|---|---|
| ||
USER_NAME=developer GROUP_NAME=developer USER_ID=1000 GROUP_ID=1000 ALMA_DIR=/external/docker/alma HOME_DIR=/external/docker/home REPO_DIR=/home/developer/code/acs IMAGE_OS=centos7 CONTAINER_DIR=centos7 |
...
...
Code Block | ||
---|---|---|
| ||
# create directories sudo mkdir -p /externalacs/docker/alma/ acs/external/docker/home/ # set ownership for directories sudo chown $USER:$USER /external/ /external/docker/ /external/docker/alma/ /external/docker/home/ |
To run the Docker container with ACS and open a terminal inside it:
...
language | bash |
---|
run container cd acs/Virtualization/Docker/Dev/ docker-compose run -d --name acs_centos7 |
...
centos7 |
...
To open a terminal inside the running container:
...
language | bash |
---|
# set ownership for directories sudo chown -R $USER:$USER /acs # open a terminal inside the container docker exec -it acs_centos7_env bash |
...