Giter Club home page Giter Club logo

Comments (6)

imthenachoman avatar imthenachoman commented on May 7, 2024 2

This is great. Thanks! I think it probably makes sense for Docker to have its own write-up that is independent of the base OS.

from how-to-secure-a-linux-server.

imthenachoman avatar imthenachoman commented on May 7, 2024 1

How? Docker sits on top of the OS. You need to secure the OS first.

from how-to-secure-a-linux-server.

ShiromMakkad avatar ShiromMakkad commented on May 7, 2024

It would be nice to know about any security risks about using Docker. Is something like Fail2Ban as effective when your services containerized? Is it able to read logs inside the containers? I don't know.

from how-to-secure-a-linux-server.

imthenachoman avatar imthenachoman commented on May 7, 2024

I have only just started using Docker which is why this guide doesn't speak to it. I will update it once I know more.

But Fail2Ban can only monitor for what you tell it. You can, in theory, configure Fail2Ban to read logs inside the containers and ban appropriately.

from how-to-secure-a-linux-server.

elesiuta avatar elesiuta commented on May 7, 2024

Somewhat related, I recently put together some notes for myself for using LXD, and seems like it is pretty easy to use LXD to secure a Docker setup, since LXD uses AppArmor by default (or forgo docker altogether for LXD).

Edit: came back and realized my comment got a bit off topic so I moved it into a new issue: #59

from how-to-secure-a-linux-server.

elesiuta avatar elesiuta commented on May 7, 2024

I came across a few services probably worth mentioning that offer an easy to setup and secure method of remotely accessing services in your docker containers as an alternative to a VPN or SSH tunnel.

https://github.com/authelia/authelia
https://github.com/keycloak/keycloak
https://github.com/pomerium/pomerium

from how-to-secure-a-linux-server.

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.