You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							17 lines
						
					
					
						
							380 B
						
					
					
				
			
		
		
	
	
							17 lines
						
					
					
						
							380 B
						
					
					
				| #!/bin/bash
 | |
| 
 | |
| # expose X to the container
 | |
| xhost +local:root
 | |
| docker pull commaai/openpilot-sim:latest
 | |
| 
 | |
| docker run --net=host\
 | |
|   --name openpilot_client \
 | |
|   --rm \
 | |
|   -it \
 | |
|   --gpus all \
 | |
|   --device=/dev/dri/  \
 | |
|   -v /tmp/.X11-unix:/tmp/.X11-unix \
 | |
|   --shm-size 1G \
 | |
|   -e DISPLAY=$DISPLAY \
 | |
|   commaai/openpilot-sim:latest \
 | |
|   /bin/bash -c "cd tools && cd sim && sh tmux_script.sh $*"
 | |
| 
 |