diff --git a/docker/scripts/dev_into.sh b/docker/scripts/dev_into.sh index 89e8b0d1fa8d998bf2a0e3510a228a9575b9d28c..7ad94b368ded6a32227ae80ce37822140c8cc9a0 100755 --- a/docker/scripts/dev_into.sh +++ b/docker/scripts/dev_into.sh @@ -16,10 +16,7 @@ # limitations under the License. ############################################################################### -xhost +local:root 1>/dev/null 2>&1 docker exec \ -u $USER \ -it apollo_dev \ /bin/bash - -xhost -local:root 1>/dev/null 2>&1 diff --git a/docker/scripts/release_into.sh b/docker/scripts/release_into.sh index 5e044dc432ff62ed631ff1891469faf3be7b3ee6..8965991573ebf4808e5e050174e3beb17f3653b1 100755 --- a/docker/scripts/release_into.sh +++ b/docker/scripts/release_into.sh @@ -16,12 +16,7 @@ # limitations under the License. ############################################################################### - -xhost +local:root 1>/dev/null 2>&1 - docker exec \ -u $USER \ -it apollo_release \ /bin/bash - -xhost -local:root 1>/dev/null 2>&1