Created
April 3, 2018 16:16
-
-
Save scottalan/089d985d40b9d2f4f4b6a79f3357cf78 to your computer and use it in GitHub Desktop.
Docker Inspect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Find db container ID | |
DB_CONTAINER_ID=$(docker inspect --format"{{.Id}}" CONTAINER_NAME) | |
# Path to current log file for container | |
LOG_PATH=$(docker inspect -f '{{.LogPath}}' CONTAINER_NAME) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment