We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66719b6 commit 49d5392Copy full SHA for 49d5392
context.go
@@ -169,7 +169,7 @@ func GetCurrentContainerID() string {
169
scanner := bufio.NewScanner(reader)
170
scanner.Split(bufio.ScanLines)
171
172
- regex := "/docker/([[:alnum:]]{64})$"
+ regex := "/docker[/-]([[:alnum:]]{64})(\\.scope)?$"
173
re := regexp.MustCompilePOSIX(regex)
174
175
for scanner.Scan() {
0 commit comments