Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 457 Bytes

README.md

File metadata and controls

17 lines (9 loc) · 457 Bytes

docker-exec-shortcut

Instructions for use

Save the docker-exec-shortcut.sh file to your local environment

Then modify the CHMOD of the file so that it is executable:

chmod +x docker-exec-shortcut.sh

Copy the file over to the /usr/bin directoy:

cp docker-exec-shortcut.sh /usr/bin/

Now you're all set to use the shortcut from anywhere on your machine:

docker-exec-shortcut.sh CONTAINER_NAME