R
RunPod6mo ago
Nas

possible to take image from dockerhub

Hi I want to be able to pull an image from dockerhub and use on my 100gb network volume storage
75 Replies
digigoblin
digigoblin6mo ago
Docker images and network storage are not related to each other at all, so I don't know what you are actually asking here. They are 2 completely different and separate things.
nerdylive
nerdylive6mo ago
Sure, you can pull the image but it won't use the network volume storage, just disk from the pod but you can move your files from your image's pod container to the network volume storage by copying or moving it to /workspace if you have your network storage attached
Nas
NasOP6mo ago
I can’t install on the local one it’s too small 5gb how do I increase that? So what your saying is install on the local drive Then transfer the things to network volume
digigoblin
digigoblin6mo ago
What local one? container disk? edit pod and increase the container disk, but I suggest storing things on persistent storage and not container storage. container storage is ephemeral/temporary and the data is lost every time your pod is restarted, persistent storage persists across restarts.
Nas
NasOP6mo ago
So do you suggest me using an S3 bucket Storing my image on there and mounting it on Runpod
digigoblin
digigoblin6mo ago
No, create a template for your docker image and launch a pod from the template.
Nas
NasOP6mo ago
My rocker image is on github
nerdylive
nerdylive6mo ago
Yep, create your own template with your docker image and use registry auth in runpod
Nas
NasOP6mo ago
And once that’s done? So Everytine I run pod I need to run this command
nerdylive
nerdylive6mo ago
yepp you can create templates
Nas
NasOP6mo ago
In order to use it
nerdylive
nerdylive6mo ago
Wait what command?
Nas
NasOP6mo ago
I have a docker image But my developer gave me a code that he said it’s a one code install
nerdylive
nerdylive6mo ago
Thats great, what code is it?
digigoblin
digigoblin6mo ago
You can't use rocker on RunPod, only normal docker images
nerdylive
nerdylive6mo ago
yeah true, but his docker image can be used
Madiator2011 (Work)
what is rocker?
digigoblin
digigoblin6mo ago
GitHub
GitHub - osrf/rocker: A tool to run docker containers with overlays...
A tool to run docker containers with overlays and convenient options for things like GUIs etc. - osrf/rocker
Madiator2011 (Work)
hmm intresting will save for later
nerdylive
nerdylive6mo ago
Oof so it setups an env like the host? probably wont be allowed
digigoblin
digigoblin6mo ago
Its more like docker-compose kind of thing
nerdylive
nerdylive6mo ago
what about on cpu pods
digigoblin
digigoblin6mo ago
May work on there because apparently those are more like VMs but its pretty pointless if your application requires a GPU
Nas
NasOP6mo ago
How can I get faster bandwidth
nerdylive
nerdylive6mo ago
What kind of bandiwdth? if network, its totally random based on the pods you get but you can also filter it from the create page
Nas
NasOP6mo ago
Which is the fastest
nerdylive
nerdylive6mo ago
speed is relative 🤣 , i mean be more specific what is fastest
Nas
NasOP6mo ago
Like the top speed How I select that
nerdylive
nerdylive6mo ago
top speed of what?
Nas
NasOP6mo ago
Internet
nerdylive
nerdylive6mo ago
Try to screenshot your UI
Nas
NasOP6mo ago
Because when I pull from github Taking time
nerdylive
nerdylive6mo ago
on create page
Nas
NasOP6mo ago
No description
nerdylive
nerdylive6mo ago
go to gpu cloud> create there will be a filter there
Nas
NasOP6mo ago
No description
nerdylive
nerdylive6mo ago
Go to community cloud there you can see the network speed filter
Nas
NasOP6mo ago
Ah ok
nerdylive
nerdylive6mo ago
theres no way t odo that in secure cloud i guess...
Nas
NasOP6mo ago
Are these dedicated servers
nerdylive
nerdylive6mo ago
i mean, they are hosted from a dedicated server, but you don't get access to the dedicated servers
Nas
NasOP6mo ago
Hmm the other one was dedicated I’m assuming The secure cloud
nerdylive
nerdylive6mo ago
they're the same
Nas
NasOP6mo ago
How do I move it from container disk to volume disk (persistent You know ? @nerdylive
nerdylive
nerdylive6mo ago
Move to /workspace Alternative to volume disk is network storage, same /workspace
Nas
NasOP6mo ago
How you do that just put that as command ?
nerdylive
nerdylive6mo ago
mv path1 path2 cp path1 path 2 two commands, path1 is from and path2 is to ( destination) copy and move
Nas
NasOP6mo ago
What OS doe docker work good with
nerdylive
nerdylive6mo ago
linuxes
Nas
NasOP6mo ago
I tried both Ubuntu didn’t work Having issues
nerdylive
nerdylive6mo ago
whats the issues
Nas
NasOP6mo ago
No description
nerdylive
nerdylive6mo ago
thats so small might just copy the text here
Nas
NasOP6mo ago
can you tell us how can we successful use docker on runpod
digigoblin
digigoblin6mo ago
You can't use iptables on RunPod Security restrictions prevent iptables, raising limits etc
Nas
NasOP6mo ago
What’s best one failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: iptables v1.8.4 (legacy): can't initialize iptables table `nat': Permission denied (you must be root) Perhaps iptables or your kernel needs to be upgraded. (exit status 3) root@183aeba58b40:~#
Nas
NasOP6mo ago
No description
Nas
NasOP6mo ago
root@183aeba58b40:~# docker pull alpine Using default tag: latest latest: Pulling from library/alpine ec99f8b99825: Extracting [==================================================>] 3.624MB/3.624MB failed to register layer: unshare: operation not permitted root@183aeba58b40:~#
digigoblin
digigoblin6mo ago
There is no best one, it can't be done. 1. iptables is not allowed. 2. docker in docker is not allowed.
Nas
NasOP6mo ago
Oh none of ur servers can do it
digigoblin
digigoblin6mo ago
You can probably do this stuff on CPU servers but not GPU ones.
Nas
NasOP6mo ago
Let me see Can we mount Amazon s3 on Runpod ? If yes how please
digigoblin
digigoblin6mo ago
No, you can't Also requires elevated permissions which are disabled for security reasons
Nas
NasOP6mo ago
Reallt chat gpt said we can On the cpu server The non community one
digigoblin
digigoblin6mo ago
ChatGPT doesn't know enough about RunPod
Nas
NasOP6mo ago
Lool Shjt I was doing it rn
digigoblin
digigoblin6mo ago
Also I don't think there are any CPU pods in community cloud
Nas
NasOP6mo ago
Yh there isn’t
digigoblin
digigoblin6mo ago
Use #🤖|ask-ai for asking RunPod questions
Nas
NasOP6mo ago
Wait let me tell my developer U can
Nas
NasOP6mo ago
Export data | RunPod Documentation
Export RunPod data to various cloud providers, including Amazon S3, Google Cloud Storage, Microsoft Azure Blob Storage, Backblaze B2 Cloud Storage, and Dropbox, with secure key and access token management.
digigoblin
digigoblin6mo ago
Thats not mounting it You specifically asked "Can we mount Amazon s3 on Runpod ?" Which can't be done You can work with S3, but you cannot mount it
nerdylive
nerdylive6mo ago
yeah technically mounting directly isn't possible from because s3 is communicating via http(?), but if we use another app to mount then it may be possible
digigoblin
digigoblin6mo ago
Can't mount at all, its not permitted due to security limitations on RunPod
Want results from more Discord servers?
Add your server