Skip to content

Commit b0c4eb5

Browse files
authored
Fixed docker-command command finding the container's ID by its name in the docker compose context (#103)
1 parent 6c72686 commit b0c4eb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-command

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This is a convenience script for issuing commands to the site's docker environment
33
# Example: ./docker-command php artisan migrate
44

5-
container_id=$(docker ps -q -f name=dcmp_public);
5+
container_id=$(docker ps -q -f name=dcmp-public);
66

77
if [ ! "$container_id" ]; then
88
echo "Docker Containers are not running. Use: 'docker-compose up -d public'"

0 commit comments

Comments
 (0)