Skip to content
Sign upLog in
How to install Docker
Profile icon

Hello, I am making a discord bot and am using an open source one.
I am required to install docker but am not able to. I am a newbie to repl and so I do not know much. This might be a stupid question but it is essential to me.
The error shown in the console is below:

E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)

E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?


You are viewing a single comment. View All
Profile icon

install-pkg docker

Profile icon


! Idk why but i cant seem to do this command, it shows command not found, idk why

Profile icon

You did that command in the console. You have to type that command in the shell instead. Hope that works :)

Profile icon

Still doesn't work. Any help?

Profile icon

Replit has a new system called Nix, which makes it way easier to install packages. Create a new file called replit.nix and put this in there:

{ pkgs }: { deps = [ pkgs.docker ]; }

That should work. More info here.