Docker on WD MyCloud

Hello my friends,

I am completely lost with the configuration of docker on my WD MyCloud - NAS.

So far I created my Identity, I transferred those files on one of two new folders I created on the NAS: Storj / Data and / Identity (that’s where I transferred the Identity files)

I also installed Docker on the NAS through this version (Cloudsmith - Repositories - WD Community (wd-community) - MirrorG2 (MirrorG2) - docker - Overview).

But now what?

The guide tell’s me to type in commands* and don’t know where to put them in?
And I should change directories without knowing the directory on the NAS?

docker run --rm -e SETUP=“true”
–user $(id -u):$(id -g)
–mount type=bind,source=“”,destination=/app/identity
–mount type=bind,source=“”,destination=/app/config
–name storagenode storjlabs/storagenode:latest


Could anyone help me?

That would be relieving, thank you!

Ryan

I imagine you need to SSH into your WD device and send commands that way. You may want to read the Docker information for your device as it typically will tell you how to get connected.

The thing is I am connected and I can use the Docker interface through “portainer.io

But what now?

I only have the picture I attached - But what do I enter?

Hello @ryanchang ,
Welcome to the forum!

The portainer is a GUI for docker (not only, but mostly). It is not replacement for ssh, so you cannot use it to run docker commands directly.

So you need either enable/install ssh server on your NAS and connect via ssh client from your PC to it then use the docker commands from our guide or try to use the portainer’s GUI.

If you would go with GUI, it’s listening on 9443 port by default, so you should try to use such URL: https://your-wd-nas-address-here:9443
Then you likely will be requested for login and password or perform a setup, if you didn’t before: Initial setup - Portainer Documentation

Next you need to learn how to run containers using this GUI, you should read their documentation, how to do it. Then you would need to convert CLI options for the container from our guide to their GUI analogues.

I would recommend to go with ssh though instead of using this GUI, but well.

1 Like