GithubHelp home page GithubHelp logo

Comments (4)

mviereck avatar mviereck commented on June 19, 2024

Compare x11docker --help:


Shared host folders or Docker volumes:
 -m, --home [=ARG]     Create a persistant HOME folder for data storage.
                       Default: Uses ~/.local/share/x11docker/IMAGENAME.
                       ARG can be another host folder or a Docker volume.
                       (~/.local/share/x11docker has a softlink to ~/x11docker.)
                       (Use --homebasedir to change this base storage folder.)

   --homebasedir DIR   Custom base folder for option --home.

With --home=x11docker you have specified a docker volume to retain the data.
To specify a host folder use an absolute path.
--homebasedir only takes effect if you use --home without arguments.

Maybe I should describe this more clearly in x11docker --help.

from dockerfile-x11docker-deepin.

hongyi-zhao avatar hongyi-zhao commented on June 19, 2024

Another problem is the --home option must be assigned with the '= ', i.e., as follows:

--home=~/x11docker

If used without '=', i.e., as follows:

--home ~/x11docker

it will complain as below:

x11docker ERROR: Image '/home/werner/x11docker' not available locally and not pulled from docker hub.

from dockerfile-x11docker-deepin.

mviereck avatar mviereck commented on June 19, 2024

Another problem is the --home option must be assigned with the '= ', i.e., as follows:

Yes, that is correct behaviour. Because the path argument is optional, there must be set a = if you want to set a path. Otherwise --home path would be ambiguous. How to decide if path belongs to --home and is not e.g. an image name?

from dockerfile-x11docker-deepin.

hongyi-zhao avatar hongyi-zhao commented on June 19, 2024

Finally, I understand the reason for doing so. Thanks for your explanation.

from dockerfile-x11docker-deepin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.