LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Containers
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-17-2017, 08:58 AM   #1
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Linux From Scratch, Bedrock, Gentoo
Posts: 199
Blog Entries: 27

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:
Code:
cd /hsc/first_run
runc spec
runc start makeupanameanynamejustpickoneandstickwithit
Nope. Every time:
Code:
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.
 
  


Reply


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 11:01 AM
LXer: Docker 1.11 Debuts with runC, Supports IPv6 LXer Syndicated Linux News 0 04-14-2016 03:33 AM
Unable to start unprivileged Lxc container on Debian Sid hurd Debian 0 02-02-2015 11: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 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Containers

All times are GMT -5. The time now is 10:02 PM.

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