frappe_docker/start-container.sh
2017-07-24 16:20:02 +05:30

3 lines
125 B
Bash
Executable file

app_id=`docker ps | grep docker_frappe | awk {'print $1'}`
docker exec -it $app_id bash -c 'su frappe; exec "${SHELL:-sh}"'