Giter VIP home page Giter VIP logo

Comments (1)

sarcasticadmin avatar sarcasticadmin commented on June 14, 2024

Running into this as well. Include is my strace (strace -s512 -o /tmp/trace.log -f -yy cntr attach dc6f9984bd53) for the example below:
trace.log

Using the example for the README:

$  docker run --name boxbusy -ti busybox
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
9ad63333ebc9: Pull complete
Digest: sha256:6d9ac9237a84afe1516540f40a0fafdc86859b2141954b4d643af7066d598b74
Status: Downloaded newer image for busybox:latest
/ #

Then in another window:

$ docker ps
CONTAINER ID   IMAGE     COMMAND   CREATED         STATUS         PORTS     NAMES
dc6f9984bd53   busybox   "sh"      6 minutes ago   Up 6 minutes             boxbusy
$ cntr attach dc6f9984bd53
failed to setup /.cntr: failed to create setcap executable: Failed set file capability CAP_SYS_CHROOT on /tmp/cntr.tOzsAM/cntr-exec: setxattr failed: EPERM: Operation not permitted

versions info:

$ uname -a
Linux driver 6.6.12 #1-NixOS SMP PREEMPT_DYNAMIC Mon Jan 15 17:57:06 UTC 2024 x86_64 GNU/Linux
$ docker -v
Docker version 24.0.5, build v24.0.5

cntr -V doesnt work:

$ cntr -V
Usage:
  cntr COMMAND [ARGUMENTS ...]
cntr: Unknown short option "V"

But Im on NixOS 23.11 which I believe the version would be 1.5.1 (https://search.nixos.org/packages?channel=23.11&show=cntr&from=0&size=50&sort=relevance&type=packages&query=cntr)

from cntr.

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.