captain icon indicating copy to clipboard operation
captain copied to clipboard

Add custom location of docker containers

Open antonkomarev opened this issue 8 years ago • 5 comments

Now it's searching for docker containers in $HOME directory. It will be good to have an option to add additional directories where to search for them or ability to define location of containers one by one.

captain add /mnt/something/interesting/and/useful

antonkomarev avatar Apr 12 '18 12:04 antonkomarev

Current idea is a ~/.captain file. But I like your idea about being able to add specific folders.

Maybe something like:

captain ships add ~/Projects

jenssegers avatar Apr 12 '18 12:04 jenssegers

Yeah, I've thought about ~/.captain file too. But both of this ways could work together. add command could append directory to the ~/.captain config file.

antonkomarev avatar Apr 12 '18 12:04 antonkomarev

Project is very cool and useful - Thanks for making it. This idea was the first thing I thought of when trying it out. Great to see it has already been thought of and might be added as an option.

tom472 avatar Jul 19 '18 13:07 tom472

see also #3

Grummfy avatar May 24 '20 17:05 Grummfy

I liked this application. But I have this path: /home/my-name/work/company-name/{project-name}/docker/local/docker-compose.yml I wanna say captain start project-name . May be add command captain add project-name path-to-docker-compose-file ?

ta-tikoma avatar May 22 '21 10:05 ta-tikoma