containers
containers copied to clipboard
How to install docker runtime in `runpod/base:0.5.1-cpu` container instance
run a container instance from runpod/base:0.5.1-cpu image
docker run --name base -it -d runpod/base:0.5.1-cpu
after,into the container
docker exec -it base /bin/bash
I want install docker-ce in the base container ,follow docker doc https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository
apt-get update; \
apt-get install -y sudo \
ca-certificates \
vim \
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; \
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; \
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
my question, docker is not running, please tell me what todo, thanks
but, use runpod.io is successful
One year and still no reply... that's insane...