development-guide icon indicating copy to clipboard operation
development-guide copied to clipboard

Add Colima installation over Docker Desktop

Open michaelsaki opened this issue 1 year ago • 5 comments

🗣 Description

This PR will remove the current Docker documentation from the mac-env-setup.md and replace it with steps to install and configure Colima.

💭 Motivation and context

Docker now requires certain users and businesses to purchase a license for use of Docker Desktop.

Colima is an open source software that is already used by developers in this organization and has a similar set of CLI commands as Docker.

This will satisfy issue https://github.com/cisagov/development-guide/issues/95.

✅ Pre-approval checklist

  • [x] This PR has an informative and human-readable title.
  • [x] Changes are limited to a single goal - eschew scope creep!
  • [x] All relevant type-of-change labels have been added.
  • [x] I have read the CONTRIBUTING document.
  • [x] These code changes follow cisagov code standards.
  • [x] All relevant repo and/or project documentation has been updated to reflect the changes in this PR.
  • [x] All new and existing tests pass.

michaelsaki avatar Feb 09 '24 20:02 michaelsaki

Hi Michael, I noticed 2 small issues: 1) for dev_envs/mac-env-setup.md line 153 , requires a wording change from 'optionalcon figuration' to 'optional configuration'. 2) for two brew install commands I received the error: Permission denied @ apply2files-/usr/local/lib/docker/cli-plugins. (This occurred when running 'brew install docker-buildx' and 'brew install colima docker docker-compose').

dv4harr10 avatar Feb 14 '24 14:02 dv4harr10

Hi Michael, I noticed 2 small issues: 1) for dev_envs/mac-env-setup.md line 153 , requires a wording change from 'optionalcon figuration' to 'optional configuration'. 2) for two brew install commands I received the error: Permission denied @ apply2files-/usr/local/lib/docker/cli-plugins. (This occurred when running 'brew install docker-buildx' and 'brew install colima docker docker-compose').

I think the second issue might be because you haven't removed previous docker configurations from your system.

michaelsaki avatar Feb 14 '24 16:02 michaelsaki

Something I noticed when running Molecule was that I left out the steps for configuring the new Docker daemon managed by Colima. Not a huge change but still thought you all would want to take a look: https://github.com/cisagov/development-guide/pull/96/commits/b8034d4558c81ed2462e233f850624c0a209502c

michaelsaki avatar Feb 28 '24 17:02 michaelsaki

Approval intensifies!!!

Final boss approaches! @mcdonnnj

michaelsaki avatar Feb 28 '24 20:02 michaelsaki

@mcdonnnj Last call on the review for this. 🚂

michaelsaki avatar May 01 '24 14:05 michaelsaki