Created
December 28, 2021 00:09
-
-
Save Varriount/a5541695065ca72d7ba6f2e964a76eaf to your computer and use it in GitHub Desktop.
Docker Compose Anchor Bug Example
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
# Will error with "yaml: did not find expected alphabetic or numeric character" | |
x-test-service-image: &test-service.image "ubuntu" | |
services: | |
test-service: | |
image: *test-service.image | |
command: bash -c 'echo hello world; sleep 30' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment