docker-internals: use container identifier for LinuxKit compatible with v0.8
This commit is contained in:
parent
2af52619c7
commit
cf97346666
@ -53,7 +53,7 @@ onboot:
|
|||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:3c6e89681a988c3d4e2610fcd7aaaa0247ded3ec
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
trust:
|
trust:
|
||||||
@ -91,7 +91,7 @@ Il reste possible de se dissocier également de ces namespaces, en précisant :
|
|||||||
<div lang="en-US">
|
<div lang="en-US">
|
||||||
```yaml
|
```yaml
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:3c6e89681a988c3d4e2610fcd7aaaa0247ded3ec
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
net: new
|
net: new
|
||||||
```
|
```
|
||||||
</div>
|
</div>
|
||||||
@ -101,7 +101,7 @@ Ou inversement, pour persister dans le namespace initial :
|
|||||||
<div lang="en-US">
|
<div lang="en-US">
|
||||||
```yaml
|
```yaml
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:3c6e89681a988c3d4e2610fcd7aaaa0247ded3ec
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
pid: host
|
pid: host
|
||||||
```
|
```
|
||||||
</div>
|
</div>
|
||||||
@ -118,7 +118,7 @@ On commence donc d'abord par créer le nouveau *namespace*, en prenant soin de
|
|||||||
<div lang="en-US">
|
<div lang="en-US">
|
||||||
```yaml
|
```yaml
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:3c6e89681a988c3d4e2610fcd7aaaa0247ded3ec
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
net: new
|
net: new
|
||||||
runtime:
|
runtime:
|
||||||
bindNS: /run/netns/mynewnetns
|
bindNS: /run/netns/mynewnetns
|
||||||
@ -173,7 +173,7 @@ serveur SSH aux `services` :
|
|||||||
<div lang="en-US">
|
<div lang="en-US">
|
||||||
```yaml
|
```yaml
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:c4bc89cf0d66733c923ab9cb46198b599eb99320
|
image: linuxkit/sshd:add8c094a9a253870b0a596796628fd4ec220b70
|
||||||
```
|
```
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user