Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

docker bash

result=${PWD##*/}
name=${1:-$result}    
bash=${2:-bash}
docker exec -i -t $name /bin/$bash 
 
PREVIOUS NEXT
Tagged: #docker #bash
ADD COMMENT
Topic
Name
5+9 =