Comments (1)
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)
- cntr hangs under NixOS test HOT 2
- cntr date is Incorrect. HOT 2
- Error when trying to attach to breakpointHook: unable to move container mounts to new mountpoint: EOPNOTSUPP: Operation not supported on transport endpoint HOT 11
- /var/lib/cntr needs to be created on the slim container before cntrfs sessions start HOT 2
- Doesn't compile on osx 12.6 Monterey. HOT 3
- Docker image fails to build - clap version can't be found
- Failing to attach to nix build HOT 7
- Problems installing cntr on ark linux (manjaro KDE Plasma 18.1.5) HOT 3
- How to attach to unprivileged podman containers? HOT 3
- How to get data out of a container? HOT 2
- Get a user specific shell from cntr?
- [feature] Shell completion
- cntr exec fails with umask set to 077
- cntr hangs when attaching HOT 11
- Release 1.5.2 is missing binaries HOT 1
- cntr on MacOS HOT 2
- Attach and Exec don't support the Posix -- command line argument convention HOT 2
- /nix/store bind-mount to an NFS mount incompatible with cntr HOT 6
- Migrate to fuser
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cntr.