Comments (7)
BTW, the dirty and quick workaround for saving container's changes, say, --keepcache
and docker commit
should can persevere all user configurations, in case all other methods failed. But as you have told, it's not the suggested way and not a good practice for production environment.
from dockerfile-x11docker-deepin.
--keepcache and docker commit should can persevere all user configurations
If it does, deepin would not store its configuration in HOME
. That would be wrong behaviour.
from dockerfile-x11docker-deepin.
If it does, deepin would not store its configuration in HOME. That would be wrong behaviour.
It seems that I'm still not understanding the data persistence mechanism of docker to a decent degree. Could you please give me some more detailed explanations on your above assertion?
from dockerfile-x11docker-deepin.
Basically it is simple:
It is standard that applications store user configurations in HOME
.
x11docker provides option --home
to preserve this folder on host.
That's all.
data persistence mechanism of docker
docker also provides so called "docker volumes" for persistent data storage. x11docker does not use this possibility (except you provide a docker volume with --home=volumename
).
from dockerfile-x11docker-deepin.
Do you mean the current used method is based on bind mounts if the supplied argument is not a volumename?
from dockerfile-x11docker-deepin.
Yes, with docker option --volume
. Compare the shown docker command if you run x11docker with option --debug
.
from dockerfile-x11docker-deepin.
It seems o be a deepin issue that a few configurations in its control center are not stored. Closing issue because it is not caused by x11docker or the image build process.
from dockerfile-x11docker-deepin.
Related Issues (20)
- W: Cannot check Release signature; keyring file not available /usr/share/keyrings/deepin-archive-camel-keyring.gpg HOT 2
- Deepin apricot: inputting the digits included in password with num keyboard will freeze the qq login. HOT 4
- The cleanup script will destroy the cache used by synaptic. HOT 9
- Automate the deepin image building progress on Docker hub by writing a build hook script. HOT 2
- The appstore with codename apricot should be used when extending the base Deepin apricot image. HOT 3
- File transfer with wechat in Deepin paricot docker container started through x11docker using bridge network is inefficient and unstable. HOT 3
- Extending Deepin apricot docker image for sound support with x11docker's corresponding options. HOT 23
- About the echo command used for multiple lines case in the Dockerfile. HOT 5
- The strange behavior when using --share=$HOME. HOT 6
- Install and config the fcitx5/fcitx5-rime/rime as the Chinese characters input method engine in Dockerfile. HOT 5
- The softlink of x11docker folder apprear recursively. HOT 10
- Disscussion on the environment variables setting of fcitx5 once more. HOT 4
- Failed to run `sudo dmidecode -t 4' in container. HOT 1
- Some warning and info given by x11docker when running deepin-wine image. HOT 1
- The strange garbled Chinese character display problem for qq and fcitx-googlepinyin. HOT 1
- A minimalist Dockerfile used to build the `Deepin` base image.
- New Deepin repositories.
- Use centos7 to cause build failure? [udisks2 dpkg error] HOT 4
- debian bootstrap configuration delayed HOT 2
- debootstrap failed with dpkg error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockerfile-x11docker-deepin.