diff --git a/docker/README.md b/docker/README.md index 9e76f29701..d08cdd32d7 100644 --- a/docker/README.md +++ b/docker/README.md @@ -49,7 +49,7 @@ If you are using Windows and having issues related to the ruby-build not finding * docker/build: This script builds the Docker containers specified for this app, seeds the database, and logs the screen output for these operations. After you use "git clone" to download this repository, run the docker/build script to start the setup process. * docker/server: Use this script to run this app in the Rails server. This script executes the "docker-compose up" command and logs the results. If all goes well, you will be able to view this app on your local browser at http://localhost:3000/. * docker/test: Use this script to run the entire test suite. -* docker/exec: Use this script to run commands within the Docker container. If you want shell access, enter "docker/exec bash". To execute "ls -l" within the Docker container, enter "docker/exec ls -l". +* docker/run: Use this script to run commands within the Docker container. If you want shell access, enter "docker/run bash". To execute "ls -l" within the Docker container, enter "docker/run ls -l". * docker/seed: Use this script to seed the database. Please note that this process is not compatible with simultaneously running the Rails server or tests. * docker/nuke: Use this script to delete all Docker images and containers. This fully resets your Docker setup and is useful for making sure that the setup procedure specified for this app is complete. * docker/cop: This script runs RuboCop. diff --git a/docker/exec b/docker/run similarity index 89% rename from docker/exec rename to docker/run index 5e606bd8cd..3975c87d32 100755 --- a/docker/exec +++ b/docker/run @@ -3,7 +3,7 @@ set -e # Use this script to execute commaands in the Docker container. -# Example: To run the "ls -l" command in the Docker container, enter the command "docker/exec ls -l". +# Example: To run the "ls -l" command in the Docker container, enter the command "docker/run ls -l". function cleanup { # capture exit code