Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Containers
User Name
Linux - Containers This forum is for the discussion of all topics relating to Linux containers. Docker, LXC, LXD, runC, containerd, CoreOS, Kubernetes, Mesos, rkt, and all other Linux container platforms are welcome.


  Search this Thread
Old 09-17-2017, 07:58 AM   #1
Registered: Mar 2009
Distribution: Linux From Scratch, Bedrock, Gentoo
Posts: 242
Blog Entries: 29

Rep: Reputation: 11
runc won't start a container

Trying to get my head around containers and I'm trying to start simple, by using just runc.

There is a directory: /hsc/first_run. In it is a directory called rootfs, which contains an unzipped "image" of a small OS. I can do things like "chroot rootfs busybox sh" and get results. This indicates that the image is good.

According to my reading, the following should work, as root:
cd /hsc/first_run
runc spec
runc start makeupanameanynamejustpickoneandstickwithit
Nope. Every time:
container makeupanameanynamejustpickoneandstickwithit does not exist
one or more of container start failed
I tried using the directory name "rootfs" instead of "makeupanameanynamejustpickoneandstickwithit" but that does not work either. I looked inside the config.json file for a container name. Could not find anything.

What am I missing? What crucial thing is overlooked in all man pages, web pages and tutorials that I need to know?

Thank you.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: runC: The little container engine that could LXer Syndicated Linux News 0 08-15-2016 10:01 AM
LXer: Docker 1.11 Debuts with runC, Supports IPv6 LXer Syndicated Linux News 0 04-14-2016 02:33 AM
Unable to start unprivileged Lxc container on Debian Sid hurd Debian 0 02-02-2015 10:45 PM
[SOLVED] how to figure out a command line to start qemu on a vmdk container lost_time Linux - Software 4 01-01-2015 08:00 AM > Forums > Linux Forums > Linux - Containers

All times are GMT -5. The time now is 09:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration