• 0

Newbie needs help with Docker file location


Question

After much messing around I finally managed to get DS3617xs up and running quite nicely on some 8 year old hardware. I have setup Docker on it and I am trying to configure the port mapping on Docker. I found an article that allows me to do what I want...

 

"The config file is a json file at the location ‘ /var/lib/docker/containers/container-id/config.v2.json"

 

But when I PuTTY into the PC and go to /var/lib there is no docker folder to be found. Which suggests that there is another file sub system I need to be in to find this file location.

 

I am not that great with Linux so I am asking if someone could please give me a complete path to this fie from root.

 

TIA.

 

 

Link to post
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   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.