ubuntu - 我可以使用 docker 在当前系统上提供简单的文件覆盖吗?

标签 ubuntu filesystems docker containers sandbox

我正在使用 Ubuntu 我想构建和运行一堆复杂的系统组件来替换现有的组件(在我的例子中是 packagekitgstreamer )。

我不想冒险损坏我的系统,我正在寻找在我的完整文件系统上覆盖(或沙箱)但仍然能够使用所有当前安装的工具和包的方法。

docker 可以帮助我吗?

Note: I said that those components were complex because they use the apt package system or gtk components. They are not isolated libraries.

最佳答案

只需将每个组件安装在 docker 容器上即可。

甚至有整个操作系统都以这种方式运行:例如RancherOSCoreOS

在 RancherOS 中,一切都在 docker 容器中(第一个守护进程除外)。 Docker 守护进程运行为 PID 1 .

关于ubuntu - 我可以使用 docker 在当前系统上提供简单的文件覆盖吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28726934/

相关文章:

ubuntu - SFTP 到谷歌计算引擎

session - Ubuntu 13.10 打破 NoMachine

windows - 最小的 FAT32 分区

objective-c - 如何在 Mac OS X 中为特定文件类型设置默认应用程序?

java - Java 中的文件迭代器?

python - 使用 AWS 部署 Django

bash - Ubuntu终端: strange symbols instead of my username

docker - 使用docker build构建rti-connext-dds-5.3.1时如何接受许可协议(protocol)?

file - 如何将文件从本地机器复制到 Windows 上的 docker 容器

postgresql - Docker Compose 和 Postgres : Name does not resolve