Qiang Huang
d72c391402
README.md: clarify OCI JSON files
...
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2015-10-27 15:34:38 +08:00
Lai Jiangshan
7a54c7bd7b
README.md: Update the config example
...
* version in the config example is advanced to 0.1.0
* rootfsPropagation in config.json is removed
(The same one is already in runtime.json)
* rlimit time is changed from magic number to name(string)
* add pids cgroup
* add cgroup path
After this change applied, the example config in this README.md
is consistent with the result of `runc spec`.
Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
2015-09-19 08:46:55 +08:00
Mrunal Patel
ec37110957
Update README for the CAP prefix change
...
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2015-09-15 14:44:12 -04:00
Mrunal Patel
4ab132458f
Merge pull request #242 from LK4D4/adjust_spec
...
Adjust runc to new opencontainers/specs version
2015-09-15 10:21:58 -07:00
Alexander Morozov
ea5032bc5e
Adjust runc to new opencontainers/specs version
...
I deleted possibility to specify config file from commands for now.
Until we decide how it'll be done. Also I changed runc spec interface to
write config files instead of output them.
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-09-15 08:35:25 -07:00
Qiang Huang
088fd3f6df
Add testing docs in README
...
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2015-09-15 08:30:28 +08:00
Michael Crosby
3200c16937
Add all support build tags for runc features
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-09-11 12:12:18 -07:00
Michael Crosby
a8e0185d97
Add seccomp build tag
...
Add a seccomp build tag and also support in the Makefile to add or
remove build tags.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-09-11 12:03:57 -07:00
Mrunal Patel
8b18c9af08
Merge pull request #229 from booyaa/doc_linux_only
...
Add caveat will only build on Linux as per #9
2015-08-28 11:29:07 -07:00
Michael Crosby
5e75a12ec1
Merge pull request #224 from marcosnils/master
...
Update README config file devices
2015-08-28 10:46:09 -07:00
Michael Crosby
b9c32b3869
Merge pull request #223 from rajasec/rlimitspec
...
Adding rlimit in spec
2015-08-28 10:34:59 -07:00
Mark Sta Ana
a491b93ff3
Add caveat will only build on Linux as per #9
...
Signed-off-by: Mark Sta Ana <booyaabooyaabooyaa@gmail.com>
2015-08-27 08:50:46 +01:00
Rajasekaran
fc97aa44e1
Updating README for rlimit
...
Signed-off-by: Rajasekaran <rajasec79@gmail.com>
Fixing indentation issue in README
Signed-off-by: Rajasekaran <rajasec79@gmail.com>
2015-08-25 06:02:59 +05:30
Marcos Lilljedahl
241306b95c
Update README config file devices
...
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2015-08-23 12:52:50 -03:00
Doug Davis
714ae2acc9
Add a 'start' command
...
When any non-global-flag parameter appears on the command line make sure
there's a "command" even in the 'start' (run) case to ensure its not
ambiguous as to what the arg is. For example, w/o this fix its not
clear if
runc foo
means 'foo' is the name of a config file or an unknown command. Or worse,
you can't name a config file the same a ANY command, even future (yet to
be created) commands.
We should fix this now before we ship 1.0 and are forced to support this
ambiguous case for a long time.
Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-08-21 15:26:34 -07:00
Doug Davis
88de2aee5a
Minor update to usage/help text
...
Seemed a little out of date
Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-08-10 12:56:53 -07:00
William Temple
a5d98a64e0
Changed README.md to refer to "pid" namespace rather than "process."
...
Signed-off-by: William Temple <wtemple@redhat.com>
2015-08-05 14:09:53 -04:00
Phil Estes
7082ed370e
Update README.md to correct comment about spec and user
...
Now that the generated spec (and the example above in the README) use
uid/gid and don't have the hardcoded `daemon` entry, the statement about
changing `daemon` to `root` no longer applies. Also added a comment
about using the `runc spec` command to generate `config.json`.
Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
2015-07-28 10:27:09 -04:00
Mrunal Patel
42aa891a6b
Merge pull request #91 from hqhq/hq_add_cgroup_mount
...
Add cgroup mount in the recommended config
2015-07-15 09:51:24 -07:00
Qiang Huang
d7181a73e4
Add cgroup mount in the recommended config
...
And allow cgroup mount take flags from user configs.
As we show ro in the recommendation, so hard-coded
read-only flag should be removed.
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2015-07-15 09:31:39 +08:00
Zefan Li
6bd71ad6a4
Add memory swappiness support
...
- Initialize swappiness to -1 for the default config.json
- Pass swappiness from config.json to libcontainer config
Signed-off-by: Zefan Li <lizefan@huawei.com>
2015-07-14 10:43:43 +08:00
zenlin
cb561f54f2
Fix bug in Readme.md,change GOPATH to GOPATH/src
...
to avoid missunderstanding of how to build.
Signed-off-by: zenlin <linzhinan@huawei.com>
2015-07-08 19:10:22 +08:00
Michael Crosby
845fc65e54
Create linux spec for runc spec command
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-07-02 13:45:56 -07:00
Michael Crosby
e15b86edb9
Add user struct based on spec implementation.
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-07-02 13:45:27 -07:00
Mrunal Patel
b3eaad364f
README changes for the newer spec format.
...
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2015-06-30 13:02:34 -04:00
Kenneth Lim
7a1dbaa6cc
typo fix
...
Signed-off-by: Kenneth Lim <kennethlimcp@gmail.com>
2015-06-30 09:11:49 +08:00
Michael Crosby
c4fd381a38
Move namespaces into linux spec
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-06-29 13:30:35 -07:00
Michael Crosby
4c829ea2ad
Add version check for spec
...
We need this version check during our initial work so that runc does not
fail silently while make changes to runc to match the spec work going
on.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-06-29 13:30:35 -07:00
Michael Crosby
b2d9d99610
Only define a single process
...
This removes the Processes slice and only allows for one process of the
container. It also renames TTY to Terminal for a cross platform
meaning.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-06-29 13:30:35 -07:00
Michael Crosby
1fa65466ea
Move linux specific options to subsection
...
This moves the linux specific options into a "linux" {} section on the
config.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-06-29 13:30:35 -07:00
Rodrigo
11ef45aa29
Adding minimum version required for docker create
2015-06-29 03:08:16 -04:00
Blake La Pierre
3ba8b5e706
Corrected spelling
2015-06-27 18:36:11 -07:00
Michael Crosby
a1c3018cc4
Merge pull request #23 from duglin/tweakHelp
...
Minor README tweaks to help newbies
2015-06-26 13:43:16 -07:00
Michael Crosby
5e90d85d26
Add notcie about config format changes
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-06-26 11:31:00 -07:00
Doug Davis
1c81b08c8c
Minor README tweaks to help newbies
...
Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-06-25 10:53:42 -07:00
Lei Xue
f4f6938448
Update README.md
2015-06-25 08:04:12 +08:00
Lei Xue
682f398e8a
Update README.md
2015-06-23 12:16:51 +08:00
Lei Xue
f9806effff
make the install steps more clear in README.md
2015-06-23 11:39:38 +08:00
Jake Teton-Landis
5ebf4c94e7
Change "... JSON Format;" to "... JSON Format:"
2015-06-22 11:09:41 -07:00
Michael Crosby
9fac183294
Initial commit of runc binary
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-06-21 19:34:13 -07:00
Michael Crosby
8f97d39dd2
Move libcontainer into subdirectory
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-06-21 19:29:15 -07:00
Sebastiaan van Stijn
68556a6d07
Update dockerproject.com links
...
The dockerproject.com domain is moving to dockerproject.org
this changes the buildstatus link to point to the new
domain.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2015-06-03 23:13:22 +02:00
boucher
fee819ca06
README example for using checkpoint/restore.
...
Docker-DCO-1.1-Signed-off-by: Ross Boucher <rboucher@gmail.com> (github: boucher)
2015-05-20 17:59:19 -07:00
Daniel, Dao Quang Minh
c4a8de8de0
add binary target to direct install in a container
...
This add `make binary` to perform direct install libcontainer binaries inside
dockercore/libcontainer container instead of having to install dependencies and
run `make direct-install` on the host.
The `nsinit` binary will be placed into `bundles/nsinit`, and we ignore the
bundles directory from git.
Signed-off-by: Daniel, Dao Quang Minh <dqminh89@gmail.com>
2015-03-28 08:14:22 +00:00
Qiang Huang
20af7e70e2
fix instructions in README
...
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2015-02-26 15:02:31 +08:00
Alexander Morozov
8600e6f315
Add default InitArgs for factory
...
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-02-25 09:11:39 -08:00
Jessica Frazelle
fb27b4238c
remove drone
...
Docker-DCO-1.1-Signed-off-by: Jessie Frazelle <jess@docker.com> (github: jfrazelle)
Docker-DCO-1.1-Signed-off-by: Jessie Frazelle <hugs@docker.com> (github: jfrazelle)
2015-02-24 15:11:47 -08:00
Michael Crosby
2ec6b585ea
Add new API examples to readme
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-02-11 11:20:27 -08:00
Michael Crosby
75442b3ad2
Remove travis.yml
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2014-11-05 22:36:10 +00:00
Luca Favatella
9c659a36a5
Fix link re contributing in README following renaming in 9b10e7f
2014-10-25 13:19:21 +01:00
Alexandr Morozov
680c1f5205
Add travis status badge
...
Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
2014-08-12 09:09:25 +04:00
Glyn Normington
29adc8c29f
Improve nsinit usage instructions
...
nsinit must be run as root.
Tidy up the README somewhat to clarify the distinction between
libcontainer and the nsinit CLI.
Fix some typos in other files.
Docker-DCO-1.1-Signed-off-by: Glyn Normington <gnormington@gopivotal.com> (github: glyn)
2014-06-26 11:57:09 +01:00
Michael Crosby
854bcc0f7e
Update readme with state.json changes
...
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@docker.com> (github: crosbymichael)
2014-06-25 11:36:54 -07:00
Michael Crosby
78a5a4285f
Fix nit on wording
...
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@docker.com> (github: crosbymichael)
2014-06-20 14:46:45 -07:00
Michael Crosby
3cea8e2be0
Fix typo in sample configs
...
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@docker.com> (github: crosbymichael)
2014-06-20 14:42:19 -07:00
Michael Crosby
e77dc4853a
Update readme with API change explination
...
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@docker.com> (github: crosbymichael)
2014-06-20 14:39:17 -07:00
Michael Crosby
d28d8b67a9
Update main readme with new configs folder
...
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@docker.com> (github: crosbymichael)
2014-06-20 10:01:25 -07:00
Victor Marmol
82a1592e88
Merge pull request #10 from glyn/hack
...
Initial hacker documentation
2014-06-13 09:49:15 -07:00
Glyn Normington
1c81b532f2
Aspiring maintainers must be aware of the election process
...
Docker-DCO-1.1-Signed-off-by: Glyn Normington <gnormington@gopivotal.com> (github: glyn)
2014-06-13 11:25:57 +01:00
Glyn Normington
3ce18ef0b3
Move hack directory contents to top level
...
Docker-DCO-1.1-Signed-off-by: Glyn Normington <gnormington@gopivotal.com> (github: glyn)
2014-06-13 11:14:29 +01:00
Timothy Hobbs
eb396d3136
Grammar in README
2014-06-12 16:07:31 +00:00
Solomon Hykes
c1bcd3829b
Add licensing information
...
Signed-off-by: Solomon Hykes <solomon@docker.com>
2014-06-09 16:16:58 -07:00
Michael Crosby
181743d9d2
Remove container.json from readme
...
No need to duplicate this information when we already have a
container.json file in the root of libcontainer
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
2014-04-30 18:52:15 -07:00
Michael Crosby
3a5ecdb823
Update container.json and readme
...
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
2014-04-24 10:35:20 -07:00
Dan Stine
e00e730152
fixed three more typos
2014-04-07 22:09:15 -04:00
Dan Stine
c9b3867e05
fixed two readme typos
2014-04-04 08:12:17 -04:00
Brandon Philips
823b293164
refactor(libcontainer): rename to CapabilitiesMask
...
The Capabilities field on libcontainer is actually used as a mask.
Rename the field so that this is more clear.
Docker-DCO-1.1-Signed-off-by: Brandon Philips <brandon.philips@coreos.com> (github: philips)
2014-03-17 11:07:12 -07:00
Michael Crosby
486050d905
Update libcontainer readme and todo list
...
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
2014-03-13 15:18:08 -07:00
Sven Dowideit
674984f7c8
very minor spelling
...
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
2014-03-04 10:12:12 +10:00
Michael Crosby
b40850a789
Update readme to remove .nspid
...
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
2014-03-03 11:31:37 -08:00
Michael Crosby
64401b859c
Code review updates
...
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
2014-02-26 19:21:46 -08:00
Michael Crosby
595d116827
Make network a slice to support multiple types
...
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
2014-02-26 14:20:41 -08:00
Michael Crosby
07992e6521
Refactor network creation and initialization into strategies
...
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
2014-02-21 22:26:07 -08:00
Michael Crosby
b3d4ac7fc0
Move tty into container.json
...
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
2014-02-21 14:56:17 -08:00
Michael Crosby
f3753e4bc0
Make nsinit a proper go pkg and add the main in another dir
...
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
2014-02-21 14:56:17 -08:00
Michael Crosby
67cb164880
Change IP to address because it includes the subnet
...
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
2014-02-21 14:56:16 -08:00
Michael Crosby
9fd5e095b0
Update readme and add TODO
...
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
2014-02-21 14:56:16 -08:00
Michael Crosby
6415e8becc
Initial commit of libcontainer
...
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
2014-02-21 14:56:15 -08:00