-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Colima installation over Docker Desktop #96
base: develop
Are you sure you want to change the base?
Conversation
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a full review, but a couple of items caught my eye.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One very minor thang.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 👍
faeed39
to
b8034d4
Compare
Something I noticed when running |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this! 👍 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approval intensifies!!!
Final boss approaches! @mcdonnnj |
Since our suggested containerization tool is Colima it makes sense to update the development guide to reflect this and remove the Docker installation steps.
Co-authored-by: David Harris <[email protected]>
Co-authored-by: Shane Frasier <[email protected]>
Co-authored-by: dav3r <[email protected]>
Co-authored-by: dav3r <[email protected]>
Co-authored-by: Shane Frasier <[email protected]>
Co-authored-by: Shane Frasier <[email protected]>
Adds documentation for linking Colima with the Docker daemon. This ensures Docker client tools communicate with Colima's managed Docker daemon, essential for Docker-based applications like Molecule without Docker Desktop. Includes the setup code snippet and its importance for better user understanding and usability in development workflows.
Co-authored-by: Shane Frasier <[email protected]>
Change the section heading from "Configure Colima's Docker daemon" to "Support applications that are unaware of Docker context" to make it more accurate and reflective of the content. Co-authored-by: dav3r <[email protected]>
Co-authored-by: dav3r <[email protected]>
5a4f322
to
66de2ef
Compare
@mcdonnnj Last call on the review for this. 🚂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strong work 💪💪💪 I have some feedback for your consideration.
Note
I tested and verified the plugin interactions with the docker-compose
and docker-buildx
formulae. Immediately after installation I was able to run a docker <plugin>
and get the help output while before installation Docker complained about an unknown command.
dev_envs/mac-env-setup.md
Outdated
@@ -106,6 +109,128 @@ After installing Brew, you'll want to install other useful | |||
packages. We recommend installing all the packages specified in the | |||
[CISA `laptop` script repository](https://github.com/cisagov/laptop/blob/master/Brewfile). | |||
|
|||
### Colima: A Docker alternative ### |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like this whole section to be a sub-section for Docker (above). It still relies on Docker under the hood (by default) and simply provides an alternative for Docker Desktop.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dev_envs/mac-env-setup.md
Outdated
|
||
Enhance your Colima setup with the following optional configurations: | ||
|
||
#### Docker Compose as a Docker plugin #### |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So the docker-compose
formula is the Compose plugin. You can see in the formula's code that it's pulling down the latest version. It just creates a docker-compose
binary that is symlinked into the plugins directory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! Verified it on my end. Everything looks good without the config stuff.
See here: 8ce2503
dev_envs/mac-env-setup.md
Outdated
|
||
Ensure the `docker compose` usage menu is displayed. | ||
|
||
#### Installing Buildx #### |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is also already installed as a Docker plugin by the formula per the formula's code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See here: 8ce2503
Co-authored-by: Nick <[email protected]>
Co-authored-by: Nick <[email protected]>
It was discovered that the docker-compose formula is the Compose plugin. It creates a docker-compose binary that is symlinked into the plugins directory. This is also the case for the docker-buildx plugin. Since this is the case it makes sense to remove the instructions for configuring the plugins. The Colima instructions were also moved to be a sub section under the Docker section since Colima relies on Docker under the hood and is simply an alternative to Docker.
🗣 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 #95.
✅ Pre-approval checklist
to reflect the changes in this PR.