Jump to content

Converting Docker Run commands to UnRaid


M2Pilot

Recommended Posts

Hi All-

 

I've been struggling with creating custom docker containers on UnRaid -- specifically figuring out which elements on a docker run command belong where when it comes to UnRaid.

 

To cut to the chase, I'm trying to follow the quickstart guide for Cassandra DB (https://cassandra.apache.org/_/quickstart.html) and there are a number of docker run commands for establishing the dockerized instance and then interacting with it.  The area where I'm particularly having issues is with the --network option.  Here are two examples:

 

docker run --rm -d --name cassandra --hostname cassandra --network cassandra cassandra

docker run --rm --network cassandra -v "$(pwd)/data.cql:/scripts/data.cql" -e CQLSH_HOST=cassandra -e CQLSH_PORT=9042 nuvo/docker-cqlsh

 

In both cases I remove elements which are handled differently by unraid (e.g., the rm, setting the name etc) but the network option has me baffled.

 

Any pointers for this?  The docs and other posts I've found don't really help.

 

Thanks,

 

Mark

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...