Code Monkey home page Code Monkey logo

Comments (8)

c2h5oh avatar c2h5oh commented on May 20, 2024 1

It's not just mac and it's not just docker-compose.

On Arch Linux with regular docker:

# docker run --rm -i -t --cap-add=NET_RAW --cap-add=NET_ADMIN qoomon/docker-host
[ERROR] docker-host container needs Linux capabilities NET_ADMIN and NET_RAW

and it's not because those capabilities are not set, because they are:

# docker run --rm -i -t --cap-add=NET_RAW --cap-add=NET_ADMIN --entrypoint /bin/sh qoomon/docker-host -c '/usr/sbin/getpcaps $$' 
1: cap_chown,cap_dac_override,cap_fowner,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_net_bind_service,cap_net_admin,cap_net_raw,cap_sys_chroot,cap_mknod,cap_audit_write,cap_setfcap=eip

from docker-host.

qoomon avatar qoomon commented on May 20, 2024 1

I found the root cause it's because of a new version of getcaps. The output format changed. I will fix it today.

from docker-host.

CorySanin avatar CorySanin commented on May 20, 2024

Hmmm all my containers that rely on docker-host suddenly started having issues after this update πŸ‘€

from docker-host.

c2h5oh avatar c2h5oh commented on May 20, 2024

Dockerfile doesn't pin base image - it's simply alpine. Previous build was with alpine 3.12. New one is with 3.13.

from docker-host.

qoomon avatar qoomon commented on May 20, 2024

@c2h5oh you are right. every commit on master will build a new image with github action and release it aΒ΄with the latest tag.

Quick workaround pin your version docker-host:2.5.4

In the mean while I'll pin the base image as well

from docker-host.

qoomon avatar qoomon commented on May 20, 2024

latest is based on alpine:3.12 again

from docker-host.

qoomon avatar qoomon commented on May 20, 2024

Anyone any ideas what change in alpine version 3.13 causing the problems?

from docker-host.

qoomon avatar qoomon commented on May 20, 2024

Should be fixed for latest, 2 and 2.5.5

from docker-host.

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.