pantry/projects/docker.com/cli
2023-08-02 12:00:39 -04:00
..
package.yml [ci skip] update display names 2023-08-02 12:00:39 -04:00
README.md docker.com/cli (#2639) 2023-08-01 12:59:16 -04:00

Running with Colima

Colima is a lightweight and straightforward command-line tool that simplifies the management of Docker on macOS. This guide will walk you through the steps to set up and run Docker using Colima.

Starting Colima

To start Colima, simply execute:

colima start <name>

Setting socket

docker context use colima-<name>

Using Docker with Colima

Now that Colima is running, you can use Docker commands directly from your terminal just like you would with a regular Docker installation. For example, to pull and run a Docker container:

docker pull nginx
docker run -d -p 80:80 nginx

Stopping Colima

When you're done using Docker with Colima, you can stop Colima and shut down Docker Desktop by running:

colima stop