R
RunPod2w 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
digigoblin2w 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
nerdylive2w 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
Nas2w 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
digigoblin2w 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
Nas2w ago
So do you suggest me using an S3 bucket Storing my image on there and mounting it on Runpod
digigoblin
digigoblin2w ago
No, create a template for your docker image and launch a pod from the template.
Nas
Nas2w ago
My rocker image is on github
nerdylive
nerdylive2w ago
Yep, create your own template with your docker image and use registry auth in runpod
Nas
Nas2w ago
And once that’s done? So Everytine I run pod I need to run this command
nerdylive
nerdylive2w ago
yepp you can create templates
Nas
Nas2w ago
In order to use it
nerdylive
nerdylive2w ago
Wait what command?
Nas
Nas2w ago
I have a docker image But my developer gave me a code that he said it’s a one code install
nerdylive
nerdylive2w ago
Thats great, what code is it?
digigoblin
digigoblin2w ago
You can't use rocker on RunPod, only normal docker images
nerdylive
nerdylive2w ago
yeah true, but his docker image can be used
Madiator2011 (Work)
what is rocker?
digigoblin
digigoblin2w 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
nerdylive2w ago
Oof so it setups an env like the host? probably wont be allowed
digigoblin
digigoblin2w ago
Its more like docker-compose kind of thing
nerdylive
nerdylive2w ago
what about on cpu pods
digigoblin
digigoblin2w ago
May work on there because apparently those are more like VMs but its pretty pointless if your application requires a GPU
Nas
Nas2w ago
How can I get faster bandwidth
nerdylive
nerdylive2w 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
Nas2w ago
Which is the fastest
nerdylive
nerdylive2w ago
speed is relative 🤣 , i mean be more specific what is fastest
Nas
Nas2w ago
Like the top speed How I select that
nerdylive
nerdylive2w ago
top speed of what?
Nas
Nas2w ago
Internet
nerdylive
nerdylive2w ago
Try to screenshot your UI
Nas
Nas2w ago
Because when I pull from github Taking time
nerdylive
nerdylive2w ago
on create page
Nas
Nas2w ago
No description
nerdylive
nerdylive2w ago
go to gpu cloud> create there will be a filter there
Nas
Nas2w ago
No description
nerdylive
nerdylive2w ago
Go to community cloud there you can see the network speed filter
Nas
Nas2w ago
Ah ok
nerdylive
nerdylive2w ago
theres no way t odo that in secure cloud i guess...
Nas
Nas2w ago
Are these dedicated servers
nerdylive
nerdylive2w ago
i mean, they are hosted from a dedicated server, but you don't get access to the dedicated servers
Nas
Nas2w ago
Hmm the other one was dedicated I’m assuming The secure cloud
nerdylive
nerdylive2w ago
they're the same
Nas
Nas2w ago
How do I move it from container disk to volume disk (persistent You know ? @nerdylive
nerdylive
nerdylive2w ago
Move to /workspace Alternative to volume disk is network storage, same /workspace
Nas
Nas2w ago
How you do that just put that as command ?
nerdylive
nerdylive2w ago
mv path1 path2 cp path1 path 2 two commands, path1 is from and path2 is to ( destination) copy and move
Nas
Nas2w ago
What OS doe docker work good with
nerdylive
nerdylive2w ago
linuxes
Nas
Nas2w ago
I tried both Ubuntu didn’t work Having issues
nerdylive
nerdylive2w ago
whats the issues
Nas
Nas2w ago
No description
nerdylive
nerdylive2w ago
thats so small might just copy the text here
Nas
Nas2w ago
can you tell us how can we successful use docker on runpod
digigoblin
digigoblin2w ago
You can't use iptables on RunPod Security restrictions prevent iptables, raising limits etc
Nas
Nas2w 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
Nas2w ago
No description
Nas
Nas2w 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
digigoblin2w ago
There is no best one, it can't be done. 1. iptables is not allowed. 2. docker in docker is not allowed.
Nas
Nas2w ago
Oh none of ur servers can do it
digigoblin
digigoblin2w ago
You can probably do this stuff on CPU servers but not GPU ones.
Nas
Nas2w ago
Let me see Can we mount Amazon s3 on Runpod ? If yes how please
digigoblin
digigoblin2w ago
No, you can't Also requires elevated permissions which are disabled for security reasons
Nas
Nas2w ago
Reallt chat gpt said we can On the cpu server The non community one
digigoblin
digigoblin2w ago
ChatGPT doesn't know enough about RunPod
Nas
Nas2w ago
Lool Shjt I was doing it rn
digigoblin
digigoblin2w ago
Also I don't think there are any CPU pods in community cloud
Nas
Nas2w ago
Yh there isn’t
digigoblin
digigoblin2w ago
Use #🤖|ask-ai for asking RunPod questions
Nas
Nas2w ago
Wait let me tell my developer U can
Nas
Nas2w 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
digigoblin2w 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
nerdylive2w 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
digigoblin2w ago
Can't mount at all, its not permitted due to security limitations on RunPod