LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 07:58 AM   #1
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
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



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

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

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

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
Open Source Consulting | Domain Registration