diff --git a/docker/README.md b/docker/README.md index efb1f81..da70e3e 100644 --- a/docker/README.md +++ b/docker/README.md @@ -14,28 +14,29 @@ To run a `pykoi` Docker container, launch a GPU instance with the following conf Alt text ### Installing Docker on your EC2 + 1. First, in your EC2 terminal apply any updates: - ``` - sudo apt update - ``` + ``` + sudo apt update + ``` 1. Install docker by running the following: - ``` - sudo apt install docker -y - ``` + ``` + sudo apt install docker -y + ``` 1. Add group membership for the default ubuntu so you can run all docker commands without using the sudo command: - ``` - sudo usermod -aG docker ubuntu - id ubuntu - newgrp docker # Reload a Linux user's group assignments to docker w/o logout - ``` + ``` + sudo usermod -aG docker ubuntu + id ubuntu + newgrp docker # Reload a Linux user's group assignments to docker w/o logout + ``` 1. Enable docker service at AMI boot time: - ``` - sudo systemctl enable docker.service - ``` + ``` + sudo systemctl enable docker.service + ``` 1. Start the Docker service: - ``` - sudo systemctl start docker.service - ``` + ``` + sudo systemctl start docker.service + ``` #### Verifying Docker Installation Verify the `Docker` installation by the checking the `docker` service status: