Docker in replit

How can I get Docker to run in Replit?
Repl link:

Already tried:

install-pkg docker
 -> command not found

pkg-install docker
 -> command not found

 -> multiple versions found:
    - docker
    - docker-client
 -> both run successfully, but the docker daemon is not started.

 The Docker website suggests this:
sudo apt-get install docker-ce docker-ce-cli docker-buildx-plugin docker-compose-plugin
 but I don't have sudo access.
1 Like

I don’t think docker works in replit, as it requires root

1 Like

I think dragon is right.

1 Like

As we all know. (Hopefully), is that root (sudo) in this case, cannot work on replit for administrative purposes.

1 Like

For EDUCATIONAL purposes, what if you gained root access on replit and did that? Then maybe it would work.

Perhaps it would work, then.

How about Podman? It can use the Docker registry and doesn’t require root privileges.

Demo here: Replacing Docker with podman? The results are not what I expected! (Part 1/2) - YouTube

1 Like

That might actually work! As long as it is on nix