-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
runc fails to spawn the container due to /sys write #16
Comments
Thanks Alexander Morozov. |
@rajasec this is related to an older cgroup limitation that didn't allow certain parameters (such as More information is available here: https://github.com/docker/libcontainer/issues/639#issue-89392076 |
Even I tried with the latest changes part of libcontainer in Docker project still failed cgroups/fs/memory.go Error thrown: I've created bug in libcontainer project. |
@rajasec the Docker PR which fixes the same problem has not been merged yet--the change you would need for running Docker (which it appears you are from your log above) is in moby/moby#14030 which has not been merged yet (and changes the default template in the native execdriver in Docker) |
Thanks estesp. As I mentioned in another bug created, vendor directory is not available, neither update.sh will be available for vendor specific things. Very light weight without docker daemon Thanks |
Fixed by #20 |
Hi
I've created the OCP spec from the command
runc spec > container.json
runc encounters following error
Here is the error
WARN[0000] signal: killed
Timestamp: 2015-06-24 07:18:33.31193264 +0530 IST
Code: System error
Message: write /sys/fs/cgroup/memory/user/1000.user/4.session/sdc/memory.swappiness: invalid argument
My image is Ubuntu container from docker repository.
Here is the entire error log
runc
WARN[0000] signal: killed
Timestamp: 2015-06-24 07:18:33.31193264 +0530 IST
Code: System error
Message: write /sys/fs/cgroup/memory/user/1000.user/4.session/raj/memory.swappiness: invalid argument
Frames:
0: start
Package: github.com/opencontainers/runc/libcontainer.(*initProcess)
File: process_linux.go@197
1: Start
Package: github.com/opencontainers/runc/libcontainer.(*linuxContainer)
File: container_linux.go@107
2: execContainer
Package: main
File: run.go@41
3: func·006
Package: main
File: main.go@88
4: Run
Package: github.com/codegangsta/cli.(*App)
File: app.go@159
5: main
Package: main
File: main.go@96
6: main
Package: runtime
File: proc.go@63
7: goexit
Package: runtime
File: asm_amd64.s@2232
The text was updated successfully, but these errors were encountered: