mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-14 02:33:58 +01:00
5 lines
339 B
Fish
5 lines
339 B
Fish
function ddown
|
|
#set -l workdir (docker inspect -f '{{ index .Config.Labels "com.docker.compose.project.working_dir" }}' (docker ps -q | head -n1))
|
|
set -l compose_file (docker inspect -f '{{ index .Config.Labels "com.docker.compose.project.config_files" }}' (docker ps -q | head -n1))
|
|
docker compose -f "$compose_file" down
|
|
end
|