How to run GUI applications directly in containers
1–10 of 40 posts
Re: How to run GUI applications directly in containers
#2Afaik Docker doesn't promise security
Re: How to run GUI applications directly in containers
#3> The source of the GUI application is untrusted, or its safety is uncertain. Afaik Docker doesn't promise security
I think it may add a bit of security, but containers are better thought of as mechanism to deploy and manage applications/services.
They can be useful as part of a security posture, but you kinda have to wrap everything up in SELinux or as part of some other system. Which is a lot easier to do with containers then it is to do with normal applications.
Also for most purposes:
If you want to integrate container applications into your desktop you'd be better off with something like Flatpak or distrobox/toolbx.
there are lots of things that these applications do to setup the environment and integrate into your home directory that isn't going to be done with simple scripts like this.
That doesn't mean that these scripts are useless, of course. I you want to run a application with more isolation and less integration then it is a lot easier to do it this way then with something like distrobox.
Like if you don't want to give a application access to your home directory. Or want to emulate a container environment for the cloud locally so you can hack on it.
Re: How to run GUI applications directly in containers
#4> The source of the GUI application is untrusted, or its safety is uncertain. Afaik Docker doesn't promise security
Only benefit I can see here is the separation of the filesystems, but there are easier and simpler ways than docker to do that.
Re: How to run GUI applications directly in containers
#5> The source of the GUI application is untrusted, or its safety is uncertain. Afaik Docker doesn't promise security
Re: How to run GUI applications directly in containers
#6Re: How to run GUI applications directly in containers
#7I don't want to be negative but Flatpak is a container runtime specifically designed for GUI apps and Docker isn't.
Re: How to run GUI applications directly in containers
#8I don't want to be negative but Flatpak is a container runtime specifically designed for GUI apps and Docker isn't.
I think this depends on your use case. As a dev I would take dockerized gui applications over flatpak all day, as it allows me to quickly add additional packages and networking for example. The possibilities would be endless while all can reside in a small docker-compose stack right in the repository.
Re: How to run GUI applications directly in containers
#9I don't want to be negative but Flatpak is a container runtime specifically designed for GUI apps and Docker isn't.
I personally think that flatpak is not the end of history and we should continue to experiment with different approaches.