9 lines
143 B
Bash
Executable File
9 lines
143 B
Bash
Executable File
#!/bin/bash
|
|
if [ $# == 0 ]; then
|
|
inst_name="${USER}s_docker"
|
|
echo ${inst_name}
|
|
else
|
|
inst_name=$1
|
|
fi
|
|
docker exec -w $PWD -it $inst_name bash
|