tuto5: add part on filesystems
This commit is contained in:
parent
75c35a36d1
commit
d02f573142
8 changed files with 547 additions and 45 deletions
|
|
@ -49,7 +49,7 @@ registre.
|
|||
Avec `jq`, on peut l'extraire grâce à :
|
||||
|
||||
<div lang="en-US">
|
||||
```bash
|
||||
```
|
||||
| jq -r .token
|
||||
```
|
||||
</div>
|
||||
|
|
@ -149,7 +149,7 @@ tar xzf ${DL_LAYER} -C rootfs
|
|||
Et voilà, nous avons extrait notre première image, nous devrions pouvoir :
|
||||
|
||||
<div lang="en-US">
|
||||
```bash
|
||||
```
|
||||
42sh# chroot rootfs /hello
|
||||
Hello from Docker!
|
||||
[...]
|
||||
|
|
@ -164,7 +164,7 @@ Hello from Docker!
|
|||
Réalisez un script pour automatiser l'ensemble de ces étapes :
|
||||
|
||||
<div lang="en-US">
|
||||
```bash
|
||||
```
|
||||
42sh$ cd $(mktemp -d)
|
||||
|
||||
42sh$ ./registry_play library/hello-world:latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue