Skip to content

Commit b9f5fad

Browse files
committed
Update macOS Container CLI for version 1.0.0
1 parent 68f3fc5 commit b9f5fad

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

content/install-guides/container.md

Lines changed: 11 additions & 9 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,7 +28,7 @@ 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
@@ -44,7 +44,7 @@ Check your macOS version:
4444
sw_vers -productVersion
4545
```
4646

47-
Example output:
47+
The output is similar to:
4848

4949
```output
5050
26.5.1
@@ -54,9 +54,11 @@ You must run macOS 15.0 or later to use the Container CLI.
5454

5555
## Install Container CLI
5656

57-
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.
5858

59-
For example, the following commands use version `1.0.0`. Replace `1.0.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 %}}
6062

6163
```bash
6264
wget https://github.com/apple/container/releases/download/1.0.0/container-1.0.0-installer-signed.pkg
@@ -112,7 +114,7 @@ Run the following to build and tag the container image as `uname`:
112114
container build -t uname .
113115
```
114116

115-
Example output:
117+
The output is similar to:
116118

117119
```output
118120
[+] Building 2.7s (5/5) FINISHED
@@ -127,7 +129,7 @@ Run the container to verify it prints the system architecture.
127129
container run --rm uname
128130
```
129131

130-
Expected output:
132+
The expected output is:
131133

132134
```output
133135
Architecture is aarch64
@@ -183,7 +185,7 @@ container ls
183185

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

186-
To uninstall and retain user data (images and containers):
188+
To uninstall and retain user data (images and containers):
187189

188190
```bash
189191
uninstall-container.sh -k
@@ -196,6 +198,6 @@ Otherwise, to uninstall and delete all user data:
196198
uninstall-container.sh -d
197199
```
198200

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

201203
You’ve now ready to use Container CLI.

0 commit comments

Comments
 (0)