Skip to content

Commit 14ac90e

Browse files
committed
Update Run Docker
1 parent 54aee59 commit 14ac90e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run-docker.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ docker run -dit --name USPython -v /var/run/docker.sock:/var/run/docker.sock -v
3232
docker exec USPython bash -c "apt-get update && apt-get install -y sudo git docker-compose python3 python3-yaml"
3333

3434
# Clone the specified GitHub repository into the container
35-
docker exec USPython git clone https://github.com/polarnaldo/USPython
35+
docker exec USPython bash -c "git clone https://github.com/polarnaldo/USPython"
3636

3737
# Run the specified Python script within the container
38-
docker exec -it USPython python3 /USPython/USPython.py -m interface
38+
docker exec -it USPython bash -c "python3 /USPython/USPython.py -m interface"

0 commit comments

Comments
 (0)