I’ve read that standard containers are optimized for developer productivity and not security, which makes sense.

But then what would be ideal to use for security? Suppose I want to isolate environments from each other for security purposes, to run questionable programs or reduce attack surface. What are some secure solutions?

Something without the performance hit of VMs

You are viewing a single thread.
View all comments
0 points

Where did you read that and which arguments did the authors make?

Many times, the configuration of Docker is the issue, e.g. mounting stuff like files from /etc/ or the Docker socket from the outside, using insecure file permissions or running the application as root user.

If you use rootless Docker or Podman, you already eliminated one of the security risks. The same goes for the other mentioned things.

What exactly do you mean by “questionable programs”? If you want to run malware, you shouldn’t do so in an environment where it can break out of anything. There’s the possibility of hardware virtualisation which prevents many of the outbreaks possible, but even then, exploits have been found.

You’re really only secure if you run questionable software on an airgapped computer with no speakers and never run anything else on it.

What would be your use case?

permalink
report
reply
0 points

There are multiple use cases I have in mind, but one of them is running proprietary software I don’t outright trust. For example, zoom video conferencing for work, or steam for games.

permalink
report
parent
reply
0 points
*

Docker isnt build to run these type of Programms. You should look into sandbox environments to test these apps.

permalink
report
parent
reply
0 points

Try firejail and flatseal for that.

permalink
report
parent
reply
0 points

How come no speakers? Is it to prevent your ears from being blasted just in case, or is there malware that can be transmitted through audio?

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 9.5K

    Monthly active users

  • 3.1K

    Posts

  • 35K

    Comments