Open gggeek opened 4 years ago
Other improvements that could be useful when running lazydocker within a container which mounts different data from different host dirs / volumes into separate container dirs:
--config-file
, to allow the lazydocker config to be in a separate dir from where the binary is executed (or is it home dir of current user?)--project-directory
(this can be achieved currently by adding --project-directory
to commandTemplates.dockerCompose within the lazydocker config file, but it leaves the 'project name' displayed as '$current_dir')PS: here is the project in question: https://github.com/gggeek/db-3v4l
Also: since it seems that lazydocker needs to run the docker
executable, for optimal results the default container used to run lazydocker should probably be rebased from using Scratch as starting layer to using f.e. rancher/docker-from-scratch
Something along these lines would be awesome, although for me requiring lazydocker to be installed on the host system is not too onerous of a requirement. The key thing that is needed is a way to pass an arbitrary config file (e.g. a -c/--config
flag as mentioned earlier).
This is needed as some of my projects have a docker-compose configuration defined in a wrapper script, which must be called by lazydocker
instead of docker-compose
.
Secondarily, having the ability to hide containers, images, and volumes not bound to a specific docker-compose context would be nice.
My need: include a tool to allow the end users to 'monitor this set of containers', as part of an application which is deployed as a set of containers managed via docker-compose
Ideally, I would be running lazydocker as one more container within the 'app' stack.
So far I have included Portainer as a "self-contained container monitor" solution along with my application stacks, but it seems to
So far I managed to achieve a good part of what I need by:
docker
)What is missing, imho: