skip to Main Content

force restart postgresql docker – Ubuntu

I have a script trying to restart postgresql docker container: DOCKER_CONTAINER_NAME="timescaledb" docker restart -t 1 $DOCKER_CONTAINER_NAME timeout 9000000s bash -c "until docker exec $DOCKER_CONTAINER_NAME pg_isready ; do sleep 1 ; done" However, this line (with any -t number) docker restart…

VIEW QUESTION
Back To Top
Search