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