Docker inside a container

Hi guys, newbie here. I am trying to run docker inside an ubuntu container. But I can't start the docker service with systemctl, what is the best practice here? I want to use this ubuntu container with work related stuff. Thanks in advance.
12 Replies
Asterisk
Asterisk3y ago
Install docker to the host And start it with systemd as usual Use sudo system install <package>, that package must be in the arch Linux repos
Ahmet.
Ahmet.OP3y ago
oh, yes that worked on the main os thank you is there any way to run it inside container, by symlinking or something?
Asterisk
Asterisk3y ago
You shouldn’t need to Docker should be accessible from the container, if not, just use docker from the host
Ahmet.
Ahmet.OP3y ago
I couldn't access it inside the container okay thanks
Asterisk
Asterisk3y ago
Personally I prefer podman :P Which is already used for the distro containers
Ahmet.
Ahmet.OP3y ago
I wanted to work inside ubuntu with work related stuff and arch with entertainment etc
Asterisk
Asterisk3y ago
Try working from Arch :) It’s better
Ahmet.
Ahmet.OP3y ago
but I use ubuntu on servers xD
Asterisk
Asterisk3y ago
And?
Ahmet.
Ahmet.OP3y ago
yes I came from endeavouros, I love arch but ubuntu is better for production servers or debian but I got your point
Asterisk
Asterisk3y ago
Eh I use all 3 Mainly Ubuntu but I use Arch for basic single purpose servers As it’s lighter and easier to install
Ahmet.
Ahmet.OP3y ago
thanks for your help bro

Did you find this page helpful?