Ask coding questions

← Back to all posts
How to install Docker
rainbowglitch (4)

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?


CoffeeGuy (1)

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

emilyUsesPascal (65)

Why do you need to install docker?

rainbowglitch (4)

@emilyUsesPascal I am using a discord bot module that requires it
The language is Go

rainbowglitch (4)

@emilyUsesPascal I do not know the name(I forgot and the bot is so large and has too many files for me to check in a small amount of time). The bot is open source and is known as YAGPDB(not developed by me)

emilyUsesPascal (65)

@rainbowglitch if your planing on only hosting you, you should not need to worry, as a repl project itself is just a docker container

rainbowglitch (4)

thanks but when i tried a command it gave me this
"bash: docker-compose: command not found"

emilyUsesPascal (65)

@rainbowglitch Sadly I do not think you can use docker on
You can try by creating a polyglot repl here:

and using install-pkg

xarat55309 (0)

hi how install docker and usage it

nitish770 (1)

Try this
pkg-install docker
then run
you'll see it working

zibri (1)

docker run --rm dockcross/windows-shared-x64 > winx64
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.

H3lix (0)

I know this thread is old, but I got docker to work with this command here "install-pkg docker-compose" after doing "install-pkg docker"

rainbowglitch (4)

Thanks, this did help. I was able to get somewhere in the starting process but now a new error is occuring

pkg_resources.DistributionNotFound: The 'docker-compose==1.17.1' distribution was not found and is required by the application

n3wbot (0)

same issues i just got made a vps from my dedicated server and set up a few bots using bots like this
i built from scratch and this runs on repl actually atm Disbot <- yes sank6 bot list but revamped to have the option to be able to certify bots! <- yagpdb clone im currently working on