Made search for `Created` stricter to not cause accidental matches

This commit is contained in:
b0wter 2023-04-23 23:13:15 +02:00
parent d96dc1ba09
commit f02bce0fdc
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ local docker_widget = wibox.widget {
local parse_container = function(line)
local name, id, image, how_long, size, actual_status
if string.find(line, 'Created') then
if string.find(line, '::Created::') then
name, id, image, size = line:match(DOCKER_CREATED_STATUS_PATTERN)
actual_status = 'Created'
how_long = 'Never started'