#Build a docker compose yml file

54 messages · Page 1 of 1 (latest)

dire socket
#

I just made a runpod environment with gpu rtx 4090 and i have a github repository with yml file. I would like to run "docker-compose build" but I can't install docker properly in runpod environment any suggestions or helps please

visual archBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

grizzled imp
#

It's in our FAQ no docker in docker allowed

dire socket
grizzled imp
#

I mean docker will only work on cpu pods but not on gpu

dire socket
grizzled imp
#

wdym?

dire socket
#

after I start my pod

#

after like 10 mins its says disconnected

#

"connection closed"

grizzled imp
#

what template? where disconnect?

dire socket
grizzled imp
#

and where it's disconnecting anything in logs?

dire socket
#

this is the pod

grizzled imp
#

I do not see anthing wrong here

dire socket
#

its shows this randomly

grizzled imp
#

I would not use web terminal it's buggy

#

use jupiter or normal ssh

dire socket
#

the problem still exists

grizzled imp
#

photo shows you use web terminal

dire socket
#

that was before

#

I didn't take ss of error in basic terminal

#

i'll send if it occurs again

#

its currently working fine for like 15 mins

grizzled imp
#

I mean do not use web terminal and use basic ssh or jupiter

dire socket
#

sometimes its below 100kb

grizzled imp
#

btw I noticed you use spot instance so it could mean someone over bid you and it cause you pod to stop

dire socket
grizzled imp
#

use on demand pod

dire socket
grizzled imp
#

All data saved on /workspace should be there

dire socket
#

if I install specific tools or libraries it would still be there after i loggin again?

grizzled imp
#

I mean everything save in /workspace folder should be there.

If you install things from apt they will be wiped as they are installed on container storage.

For python you can create venv at /workspace

dire socket
civic basin
#

@dire socket how to install the docker in rtx4090 pod?

dire socket
#

you can build docker image for you project I guess but you can't run docker file or docker compose

civic basin
dire socket
#

go through these you might find something. I'm new to this topic so I recommend you ask someone who knows more about it

civic basin
dire socket
civic basin
dire socket
gritty scarab
#

Use cpu instance for docker in docker, you have to modify docker's start script abit to get it working

#

I forget which one