Skip to content

Commit 8cc36bd

Browse files
Merge pull request #3393 from jasonrandrews/review
Update macOS Container CLI for version 1.0.0
2 parents f1d8675 + b9f5fad commit 8cc36bd

1 file changed

Lines changed: 18 additions & 14 deletions

File tree

content/install-guides/container.md

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Container CLI is an open-source command-line tool from Apple for building and ru
1818

1919
The CLI supports the full Open Container Initiative (OCI) workflow: building, running, tagging, and pushing container images.
2020

21-
In this guide, you'll learn how to install and use the Container CLI to run Arm Linux containers natively on Apple silicon Macs.
21+
In this guide, you'll learn how to install and verify the Container CLI to run Arm Linux containers natively on Apple silicon Macs.
2222

2323
## Before you begin
2424

@@ -28,11 +28,12 @@ First, confirm you are using an Apple silicon Mac by running:
2828
uname -m
2929
```
3030

31-
The output should be:
31+
The expected output is:
3232

3333
```output
3434
arm64
3535
```
36+
3637
{{% notice Note %}}
3738
Container CLI supports only Apple silicon Macs (M1, M2, M3, and M4).
3839
{{% /notice %}}
@@ -43,28 +44,30 @@ Check your macOS version:
4344
sw_vers -productVersion
4445
```
4546

46-
Example output:
47+
The output is similar to:
4748

4849
```output
49-
15.6.1
50+
26.5.1
5051
```
5152

5253
You must run macOS 15.0 or later to use the Container CLI.
5354

5455
## Install Container CLI
5556

56-
To install Container CLI, go to the [GitHub Releases page](https://github.com/apple/container/releases) and download the latest signed `.pkg` installer.
57+
To install Container CLI, go to the [GitHub Releases page](https://github.com/apple/container/releases) and download the latest signed `.pkg` installer.
5758

58-
For example, the following commands use version `0.11.0`. Replace `0.11.0` with the latest version:
59+
{{% notice Note %}}
60+
The following commands use Container CLI version 1.0.0. The same commands work with other versions. Replace the file used in these steps with the file for your version of choice. To find the latest version, see [GitHub Releases](https://github.com/apple/container/releases).
61+
{{% /notice %}}
5962

6063
```bash
61-
wget https://github.com/apple/container/releases/download/0.11.0/container-0.11.0-installer-signed.pkg
64+
wget https://github.com/apple/container/releases/download/1.0.0/container-1.0.0-installer-signed.pkg
6265
```
6366

6467
Install the package:
6568

6669
```bash
67-
sudo installer -pkg container-0.11.0-installer-signed.pkg -target /
70+
sudo installer -pkg container-1.0.0-installer-signed.pkg -target /
6871
```
6972

7073
This installs the Container binary at `/usr/local/bin/container`.
@@ -88,7 +91,7 @@ container --version
8891
The output is similar to:
8992

9093
```output
91-
container CLI version 0.11.0 (build: release, commit: d9b8a8d)
94+
container CLI version 1.0.0 (build: release, commit: ee848e3)
9295
```
9396

9497
## Verify installation by building and running a container
@@ -111,10 +114,11 @@ Run the following to build and tag the container image as `uname`:
111114
container build -t uname .
112115
```
113116

114-
Example output:
117+
The output is similar to:
115118

116119
```output
117-
Successfully built uname:latest
120+
[+] Building 2.7s (5/5) FINISHED
121+
uname:latest
118122
```
119123

120124
### Run the container
@@ -125,7 +129,7 @@ Run the container to verify it prints the system architecture.
125129
container run --rm uname
126130
```
127131

128-
Expected output:
132+
The expected output is:
129133

130134
```output
131135
Architecture is aarch64
@@ -181,7 +185,7 @@ container ls
181185

182186
The CLI includes an uninstall script. You can choose whether to keep or delete your container data.
183187

184-
To uninstall and retain user data (images and containers):
188+
To uninstall and retain user data (images and containers):
185189

186190
```bash
187191
uninstall-container.sh -k
@@ -194,6 +198,6 @@ Otherwise, to uninstall and delete all user data:
194198
uninstall-container.sh -d
195199
```
196200

197-
This will remove the CLI and all related images, logs, and metadata.
201+
This removes the CLI and all related images, logs, and metadata.
198202

199203
You’ve now ready to use Container CLI.

0 commit comments

Comments
 (0)