Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
340 views
in Technique[技术] by (71.8m points)

Proper way to access fileshare with docker ubuntu server

I’m learning both Linux(ubuntu) and docker. I’m so far that my servies is running as it should in my docker container. The service needs to access a fileshare for data access. I also want the docker mounts to reside on a fileshare so noting “important” lies on the host itself.

How should I set this up properly? If would think that for the docker mounts that this should be done on the host? The file access from the docker however should I set this up via the dockerfile or is it just as fast to set it up on the host and mount it through docker? There is no security concern as to mount on host in this case.

My next question will probably be how do I mount the share correct?

Regard Lars


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...