Skip to content

Commit 569176c

Browse files
committed
docker-compose.yml
1 parent f4e492c commit 569176c

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

docker/docker-compose.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
#
33
# docker-compose run --rm cpp_study
44
#
5+
# docker ps
6+
# docker exec -it xxx bash
57

68
version: "3"
79

@@ -13,7 +15,10 @@ services:
1315

1416
container_name: cpp_study
1517

16-
working_dir: /root/cpp_study/
18+
working_dir: /root/cpp_study
19+
20+
stdin_open: true
21+
tty: true
1722

1823
command: /bin/bash
1924

0 commit comments

Comments
 (0)