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 a1a1130 commit b3b09d7Copy full SHA for b3b09d7
context.go
@@ -171,7 +171,7 @@ func GetCurrentContainerID() string {
171
for scanner.Scan() {
172
_, lines, err := bufio.ScanLines([]byte(scanner.Text()), true)
173
if err == nil {
174
- re := regexp.MustCompilePOSIX("/docker-([[:alnum:]]{64}).scope$")
+ re := regexp.MustCompilePOSIX("/docker/([[:alnum:]]{64})$")
175
if re.MatchString(string(lines)) {
176
submatches := re.FindStringSubmatch(string(lines))
177
containerID := submatches[1]
0 commit comments