The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/pylxd/pull/228
This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.
=== Description (from pull-request) ===
When creating a container the documentation stated that config source type should be image and an image key should be present to define the image. However this should be {'type': 'image', 'alias': '...'}.
From 39645926a0f97d3347abebd306bb0b3a1745b414 Mon Sep 17 00:00:00 2001
From: Paul Oyston <[email protected]>
Date: Sun, 7 May 2017 15:47:22 +0100
Subject: [PATCH] Update containers.rst
When creating a container the documentation stated that config source type
should be image and an image key should be present to define the image. However
this should be {'type': 'image', 'alias': '...'}.
---
doc/source/containers.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/source/containers.rst b/doc/source/containers.rst
index 014288f..0537707 100644
--- a/doc/source/containers.rst
+++ b/doc/source/containers.rst
@@ -107,7 +107,7 @@ container.
.. code-block:: python
- >>> config = {'name': 'my-container', 'source': {'type': 'image', 'image':
'ubuntu/trusty'}}
+ >>> config = {'name': 'my-container', 'source': {'type': 'image', 'alias':
'ubuntu/trusty'}}
>>> container = client.containers.create(config, wait=True)
>>> container.start()
>>> container.freeze()
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel