enter_docker_as_root.sh
author Edouard Tisserant <edouard.tisserant@gmail.com>
Thu, 19 May 2022 18:19:23 +0200
changeset 44 c460ec8c65e9
parent 37 fd09116d3537
permissions -rwxr-xr-x
Don't require TTY for docker.
#!/bin/bash

CONTAINER=beremiz_public_builder_current

docker start $CONTAINER
docker exec -i -t -u root $CONTAINER bash
docker stop $CONTAINER