Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install docker runtime in runpod/base:0.5.1-cpu container instance #66

Open
bidianqing opened this issue May 26, 2024 · 1 comment

Comments

@bidianqing
Copy link

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
image

@bidianqing
Copy link
Author

but, use runpod.io is successful
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant