nvidia-docker-compose
nvidia-docker-compose copied to clipboard
Better CLI support
Currently nvidia-docker-compose
passes all command line arguments aside from -f
onto the underlying docker-compose
. But in the process, it ends up capturing options like -h, --help
and any -f
option, regardless of where it appears. This is quite inconvenient as nvidia-docker-compose --help
do not provide any useful help menu (would make sense to show the help for docker-compose
), and commands with -f
as an option for the subcommands (e.g. docker-compose logs -f
) doesn't work properly. The argparsing needs to be improved.