@@ -89,8 +89,6 @@ $ limactl start
8989$ lima nerdctl run -d --name nginx -p 127.0.0.1:8080:80 nginx:alpine
9090```
9191
92- NOTE: ARM Mac requires installing a patched version of QEMU, see [ Lima] ( https://github.com/AkihiroSuda/lima ) documentation.
93-
9492### FreeBSD
9593
9694See [ ` ./docs/freebsd.md ` ] ( docs/freebsd.md ) .
@@ -131,6 +129,7 @@ Minor:
131129- Specifying a non-image rootfs: ` nerdctl run -it --rootfs <ROOTFS> /bin/sh ` . The CLI syntax conforms to Podman convention.
132130- Connecting a container to multiple networks at once: ` nerdctl run --net foo --net bar `
133131- Running [ FreeBSD jails] ( ./docs/freebsd.md ) .
132+ - Better multi-platform support, e.g., ` nerdctl pull --all-platforms IMAGE `
134133
135134Trivial:
136135- Inspecting raw OCI config: ` nerdctl container inspect --mode=native ` .
@@ -291,6 +290,9 @@ Basic flags:
291290 - Default: "missing"
292291- :whale : ` --pid=(host) ` : PID namespace to use
293292
293+ Platform flags:
294+ - :whale : ` --platform=(amd64|arm64|...) ` : Set platform
295+
294296Network flags:
295297- :whale : ` --net, --network=(bridge|host|none|<CNI>) ` : Connect a container to a network
296298 - Default: "bridge"
@@ -620,8 +622,9 @@ Flags:
620622- :whale : ` -q, --quiet ` : Suppress the build output and print image ID on success
621623- :whale : ` --cache-from=CACHE ` : External cache sources (eg. user/app: cache , type=local,src=path/to/dir) (compatible with ` docker buildx build ` )
622624- :whale : ` --cache-to=CACHE ` : Cache export destinations (eg. user/app: cache , type=local,dest=path/to/dir) (compatible with ` docker buildx build ` )
625+ - :whale : ` --platform=(amd64|arm64|...) ` : Set target platform for build (compatible with ` docker buildx build ` )
623626
624- Unimplemented ` docker build ` flags: ` --add-host ` , ` --iidfile ` , ` --label ` , ` --network ` , ` --platform ` , ` -- squash`
627+ Unimplemented ` docker build ` flags: ` --add-host ` , ` --iidfile ` , ` --label ` , ` --network ` , ` --squash `
625628
626629### :whale : nerdctl commit
627630Create a new image from a container's changes
@@ -656,13 +659,22 @@ Pull an image from a registry.
656659
657660Usage: ` nerdctl pull [OPTIONS] NAME[:TAG|@DIGEST] `
658661
659- Unimplemented ` docker pull ` flags: ` --all-tags ` , ` --disable-content-trust ` (default true), ` --platform ` , ` --quiet `
662+ Flags:
663+ - :whale : ` --platform=(amd64|arm64|...) ` : Pull content for a specific platform
664+ - :nerd_face : Unlike Docker, this flag can be specified multiple times (` --platform=amd64 --platform=arm64 ` )
665+ - :nerd_face : ` --all-platforms ` : Pull content for all platforms
666+
667+ Unimplemented ` docker pull ` flags: ` --all-tags ` , ` --disable-content-trust ` (default true), ` --quiet `
660668
661669### :whale : nerdctl push
662670Push an image to a registry.
663671
664672Usage: ` nerdctl push [OPTIONS] NAME[:TAG] `
665673
674+ Flags:
675+ - :nerd_face : ` --platform=(amd64|arm64|...) ` : Push content for a specific platform
676+ - :nerd_face : ` --all-platforms ` : Push content for all platforms
677+
666678Unimplemented ` docker push ` flags: ` --all-tags ` , ` --disable-content-trust ` (default true), ` --quiet `
667679
668680### :whale : nerdctl load
@@ -674,6 +686,8 @@ Usage: `nerdctl load [OPTIONS]`
674686
675687Flags:
676688- :whale : ` -i, --input ` : Read from tar archive file, instead of STDIN
689+ - :nerd_face : ` --platform=(amd64|arm64|...) ` : Import content for a specific platform
690+ - :nerd_face : ` --all-platforms ` : Import content for all platforms
677691
678692Unimplemented ` docker load ` flags: ` --quiet `
679693
@@ -686,6 +700,8 @@ Usage: `nerdctl save [OPTIONS] IMAGE [IMAGE...]`
686700
687701Flags:
688702- :whale : ` -o, --output ` : Write to a file, instead of STDOUT
703+ - :nerd_face : ` --platform=(amd64|arm64|...) ` : Export content for a specific platform
704+ - :nerd_face : ` --all-platforms ` : Export content for all platforms
689705
690706### :whale : nerdctl tag
691707Create a tag TARGET\_ IMAGE that refers to SOURCE\_ IMAGE.
@@ -707,6 +723,7 @@ Usage: `nerdctl image inspect [OPTIONS] NAME|ID [NAME|ID...]`
707723Flags:
708724- :nerd_face : ` --mode=(dockercompat|native) ` : Inspection mode. "native" produces more information.
709725- :whale : ` --format ` : Format the output using the given Go template, e.g, ` {{json .}} `
726+ - :nerd_face : ` --platform=(amd64|arm64|...) ` : Inspect a specific platform
710727
711728### :nerd_face : nerdctl image convert
712729Convert an image format.
@@ -1025,4 +1042,5 @@ Others:
10251042- [ ` ./docs/stargz.md ` ] ( ./docs/stargz.md ) : Lazy-pulling using Stargz Snapshotter
10261043- [ ` ./docs/ocicrypt.md ` ] ( ./docs/ocicrypt.md ) : Running encrypted images
10271044- [ ` ./docs/freebsd.md ` ] ( ./docs/freebsd.md ) : Running FreeBSD jails
1045+ - [ ` ./docs/multi-platform.md ` ] ( ./docs/multi-platform.md ) : Multi-platform mode
10281046- [ ` ./docs/experimental.md ` ] ( ./docs/experimental.md ) : Experimental features
0 commit comments