docker / scout-cli

Docker Scout CLI
https://docker.com/products/docker-scout
Other
255 stars 60 forks source link

add a nix flake #3

Open slimslenderslacks opened 1 year ago

slimslenderslacks commented 1 year ago

We need to find out more about what Developer Guy is looking for from a nix-based environment for Scout. To me, the key question is about the docker engine.

slimslenderslacks commented 1 year ago

You enter a docker scout shell by running nix develop github:docker/scout-cli?ref=slim/flake. I'd first cd to a tmp directory because it will assume your DOCKER_CONFIG is in the pwd right now.

It's a somewhat isolated environment in that it will use it's own versions of the docker cli and the docker scout, and as long as DOCKER_CONFIG is not pointing at HOME, it won't interfere with your current config. However, by default, it's going to use your current docker engine and that's probably not what users would really want.