mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
parent
ae6f41e303
commit
fa84895ab2
2
setup.sh
2
setup.sh
|
@ -57,7 +57,7 @@ function _update_config_path()
|
||||||
{
|
{
|
||||||
if [[ -n ${CONTAINER_NAME} ]]
|
if [[ -n ${CONTAINER_NAME} ]]
|
||||||
then
|
then
|
||||||
VOLUME=$(docker inspect "${CONTAINER_NAME}" \
|
VOLUME=$(${CRI} inspect "${CONTAINER_NAME}" \
|
||||||
--format="{{range .Mounts}}{{ println .Source .Destination}}{{end}}" | \
|
--format="{{range .Mounts}}{{ println .Source .Destination}}{{end}}" | \
|
||||||
grep "/tmp/docker-mailserver$" 2>/dev/null)
|
grep "/tmp/docker-mailserver$" 2>/dev/null)
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue