docker-internals: use container identifier for LinuxKit compatible with v0.8

This commit is contained in:
nemunaire 2021-11-26 21:53:13 +01:00
parent 2af52619c7
commit cf97346666

View File

@ -53,7 +53,7 @@ onboot:
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty
image: linuxkit/getty:3c6e89681a988c3d4e2610fcd7aaaa0247ded3ec
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
env:
- INSECURE=true
trust:
@ -91,7 +91,7 @@ Il reste possible de se dissocier également de ces namespaces, en précisant :
<div lang="en-US">
```yaml
- name: getty
image: linuxkit/getty:3c6e89681a988c3d4e2610fcd7aaaa0247ded3ec
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
net: new
```
</div>
@ -101,7 +101,7 @@ Ou inversement, pour persister dans le namespace initial :
<div lang="en-US">
```yaml
- name: getty
image: linuxkit/getty:3c6e89681a988c3d4e2610fcd7aaaa0247ded3ec
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
pid: host
```
</div>
@ -118,7 +118,7 @@ On commence donc d'abord par créer le nouveau *namespace*, en prenant soin de
<div lang="en-US">
```yaml
- name: getty
image: linuxkit/getty:3c6e89681a988c3d4e2610fcd7aaaa0247ded3ec
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
net: new
runtime:
bindNS: /run/netns/mynewnetns
@ -173,7 +173,7 @@ serveur SSH aux `services` :
<div lang="en-US">
```yaml
- name: sshd
image: linuxkit/sshd:c4bc89cf0d66733c923ab9cb46198b599eb99320
image: linuxkit/sshd:add8c094a9a253870b0a596796628fd4ec220b70
```
</div>