Specify comma containers come from ghcr.io in docker pull commands. (#20342)

pull/20347/head
wolterhv 4 years ago committed by GitHub
parent fc64a75030
commit 5463469f71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tools/sim/build_container.sh
  2. 2
      tools/sim/start_openpilot_docker.sh

@ -3,7 +3,7 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR/../../ cd $DIR/../../
docker pull commaai/openpilot-base:latest docker pull ghcr.io/commaai/openpilot-base:latest
docker build \ docker build \
--cache-from commaai/openpilot-sim:latest \ --cache-from commaai/openpilot-sim:latest \
-t commaai/openpilot-sim:latest \ -t commaai/openpilot-sim:latest \

@ -3,7 +3,7 @@
# expose X to the container # expose X to the container
xhost +local:root xhost +local:root
docker pull commaai/openpilot-sim:latest docker pull ghcr.io/commaai/openpilot-sim:latest
docker run --net=host\ docker run --net=host\
--name openpilot_client \ --name openpilot_client \

Loading…
Cancel
Save