VDA in Docker
Last updated
Last updated
Docker Installation Guide for different OS(s)
Install Docker Desktop
Run following command on Power shell
wsl --set-default ubuntu
To check docker information run following command on Power shell
docker info
Set up Docker's apt
repository.
Add Docker's official GPG key:
sudo apt-get update sudo apt-get install ca-certificates curl sudo install -m 0755 -d /etc/apt/keyrings sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc sudo chmod a+r /etc/apt/keyrings/docker.asc
Add the repository to Apt sources:
echo
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" |
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt-get update
To install the latest version, run:
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Verify that the Docker Engine installation is successful by running the hello-world
image.
sudo docker run hello-world
Post Installation steps to run docker without root user
Create the docker
group.
sudo groupadd docker
Add your user to the docker
group.
sudo usermod -aG docker $USER
Log out and log back in so that your group membership is re-evaluated.
newgrp docker
Verify that you can run docker
commands without sudo
.
docker run hello-world
Minimum requirements allocated to Docker should be
12 GB
4
20 GB
To change the memory allocation for Docker, please visit Preferences -> Resources -> Advanced
in your Docker Desktop.
Change the values for parameters as per your keys .
The docker compose up script calls the script which can also be used directly
docker compose -f vda-deploy.yaml --env-file vda/.env-vda up -d
The docker compose up script calls the script which can also be used directly
docker compose -f vda-deploy.yaml --env-file vda/.env-vda down
The docker compose up script calls the script which can also be used directly
docker compose -f vda-deploy.yml --env-file vda/.env-vda down
docker volume prune -a