Code Monkey home page Code Monkey logo

Comments (7)

brunetto avatar brunetto commented on August 11, 2024

Ah, and it shut you out from your chrome profile on the chrome installed on your systems changing the owner of the folders to root.

from dockerfiles.

jessfraz avatar jessfraz commented on August 11, 2024

Don't mount the volume with the chrome profile, and you can run with -u to
specify a user

On Sunday, April 26, 2015, brunetto [email protected] wrote:

Ah, and it shut you out from your chrome profile on the chrome installed
on your systems changing the owner of the folders to root.


Reply to this email directly or view it on GitHub
#16 (comment)
.

Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC 511E 18F3 685C 0022 BFF3
pgp.mit.edu http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3

from dockerfiles.

jessfraz avatar jessfraz commented on August 11, 2024

Also I'm not forcing you to use my dockerfiles, if you take offense / don't
like them it is more than simple to create your own, mine are not the only
option you have. ;)

Just saying if you have other ideas of things you want you are more than welcome to create your own.

On Sunday, April 26, 2015, Jessica Frazelle [email protected] wrote:

Don't mount the volume with the chrome profile, and you can run with -u to
specify a user

On Sunday, April 26, 2015, brunetto <[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');> wrote:

Ah, and it shut you out from your chrome profile on the chrome installed
on your systems changing the owner of the folders to root.


Reply to this email directly or view it on GitHub
#16 (comment)
.

Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC 511E 18F3 685C 0022 BFF3
pgp.mit.edu
http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3

Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC 511E 18F3 685C 0022 BFF3
pgp.mit.edu http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3

from dockerfiles.

brunetto avatar brunetto commented on August 11, 2024

Maybe I didn't explain myself well enough... I do love our solutions... I was just asking if there were "best practices" or advises to deal with those two problems (especially the root one).
Moreover, given that, if I'm not wrong, you work at Docker, maybe your opinion could be interesting and helpful.

from dockerfiles.

jessfraz avatar jessfraz commented on August 11, 2024

Hmm yeah so I starting changing a bunch of these to not be root like spotify etc so it's a wip you can also use the -u flag look at the notify-osd container that one I pass my current user too because it needs the dbus session, basically all are super hacky tho

from dockerfiles.

pwFoo avatar pwFoo commented on August 11, 2024

I'm have some working containers change user inside the container start script with sudo and also a dockerfile / build time user solution (chromium, keepassx, atom).

Both seems to be working fine. With sudo the container starts as root, but drops permission for starting the application (chromium, keepassx, ...). User / uid is set by "docker run -e ...".

Second solution the user is set at build time. So image have to be rebuild if user / uid changes.

To get sound working I added the user inside the container to the audio group (gid have to be the same as the hosts audio group gid...).

from dockerfiles.

jessfraz avatar jessfraz commented on August 11, 2024

closing as this is not bugs with this repo, thanks! but feel free to discuss!

from dockerfiles.

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.