Merge pull request #311 into master
Some checks failed
docker-finance / all (push) Failing after 6m57s
Some checks failed
docker-finance / all (push) Failing after 6m57s
26b90fe1 client: lib_docker: `shell`: remove explicit workdir, use default (Aaron Fiore)
This commit was merged in pull request #311.
This commit is contained in:
@@ -511,7 +511,7 @@ function lib_docker::__shell()
|
|||||||
[ -z "$global_container" ] && lib_utils::die_fatal
|
[ -z "$global_container" ] && lib_utils::die_fatal
|
||||||
lib_utils::print_debug "Spawning shell in container '${global_container}'"
|
lib_utils::print_debug "Spawning shell in container '${global_container}'"
|
||||||
|
|
||||||
docker exec -it --user "$global_arg_user" --workdir / "$global_container" /bin/bash
|
docker exec -it --user "$global_arg_user" "$global_container" /bin/bash
|
||||||
}
|
}
|
||||||
|
|
||||||
function lib_docker::__exec()
|
function lib_docker::__exec()
|
||||||
|
|||||||
Reference in New Issue
Block a user