Mercurial > public > ssdt-docker
comparison scripts/console.sh @ 574:9afc8cb478f6
Domain changed from ssdt.io to ssdt-ohio.org
author | Marc Davis <marc.davis@mcoecn.org> |
---|---|
date | Wed, 04 Sep 2024 11:36:41 -0400 |
parents | ae2b4a5294ff |
children |
comparison
equal
deleted
inserted
replaced
572:5c9d90a1673a | 574:9afc8cb478f6 |
---|---|
15 ip=$(docker inspect -f "{{with .NetworkSettings.Networks}}{{.${project}_default.IPAddress}}{{end}}" $container) | 15 ip=$(docker inspect -f "{{with .NetworkSettings.Networks}}{{.${project}_default.IPAddress}}{{end}}" $container) |
16 fi | 16 fi |
17 | 17 |
18 if [ "$project" == "" ] | 18 if [ "$project" == "" ] |
19 then | 19 then |
20 docker run -it -v ${PWD}:/tmp -v ${SSDT_HOME}:/ssdt --rm docker.ssdt.io/ssdt-utils telnet $ip 2000 | tee console.log | 20 docker run -it -v ${PWD}:/tmp -v ${SSDT_HOME}:/ssdt --rm docker.ssdt-ohio.org/ssdt-utils telnet $ip 2000 | tee console.log |
21 else | 21 else |
22 echo "connecting to telnet console on ${container} in ${project}" | 22 echo "connecting to telnet console on ${container} in ${project}" |
23 docker run -it --network ${project}_default --rm docker.ssdt.io/ssdt-utils telnet $ip 2000 | tee console.log | 23 docker run -it --network ${project}_default --rm docker.ssdt-ohio.org/ssdt-utils telnet $ip 2000 | tee console.log |
24 fi | 24 fi |
25 | 25 |