English 中文(简体)
Docker volume v.mount oblig for external hd
原标题:Docker volume vs mount bind for external hdd
  • 时间:2017-10-22 22:09:34
  •  标签:
  • docker

第一次由Raspberry Pi 3(Hypriot OS)接手。 我有一张外衣,存放所有档案。 斜体为card。

我在码头上树立了许多形象:月球、雷达、 em服务器和借机客户。

我已经按照码头中心页的线建立了所有集装箱,因此,我附上了所有使用装货的夹(-v /some/path:/some/path)。

现在文件说,数量越好,因为它并不依赖档案系统。 此外,我也存在问题,因为我想利用我外部 h的档案之间的硬联系,但由于我使用大盘约束,似乎在同一个侧面上把硬连接到另一个地方时不工作。 我认为,只增加一大约束应解决这一问题,但我只是想使现在的灾难正确。

卷量是否是储存所有电影的一种选择,还是我是否继续使用顶峰?

在卷土中,我能否具体说明储存电影的外部被 h? 我在一张card片上安装了制片,但我需要我的外衣电影。

我使用了<代码>docker制造了体积名称——即一台装置=/米hdmount/,但我不清楚这是否是ok,因为cker量检查显示在纸上加一角。 而且,在我创建该卷时,我是否应当制定<条码>-o类型=ext4? 因为根据《手册》第4条,tt有device=选项。

感谢!

问题回答

Running into this issue 6 years later. What would be better in a situation where you have /media that contains movies etc that need to be mounted to a docker container and shared across multiple containers? Is it better to mount them as a volume or bind-mount?

What if we want to use hardlinks between the /media mounts? IE /media/folder/file1 hardlink to /media/folde2/file1





相关问题
Unable to connect to docker container inside windows server

As title. I am developing a system with many docker images with ASP.Net MVC core projects. I am publishing these docker images into a docker engine installed on Windows Server OS, and I found that I ...

Only can see postgreSQL as an admin

After installed Wsl and Docker, can t access PSQL and other things. I was studying Docker, and installed the latest version. So far so good, I received an error about the WSL version, saw some ...

make docker-compose block until healthy without `depends_on`

I am working with a team that uses docker-compose to start a set of helper services, but does not use docker when the code is being developed. Here, docker-compose is just a convenient way to run the ...

change grafana port using docker host network

I am trying to spin up a grafana container in docker, however my setup in docker does not allow ipv4 forwarding and thus I cannot use the default bridge network in docker. All I can use is the host ...

Pip instalation for Python 3.11 in docker

I have Dockerfile to build image for Django project that uses Python 3.11 and runs in poetry environment (see content below). Problem is when I try to donwload get-pip.py file and run it using Python, ...

在 Dockerfile 中运行 composer install

我正在尝试将我的Laravel应用程序进行Docker化。 该应用程序已经构建并在Git中,但我将vendor文件夹添加到了.gitignore中。 我添加了一个Dockerfile,看起来像这样: FROM php:7.1-fpm-alpine RUN apk update ...

热门标签