Skip to content

Untagged local images cause projects to crash on start #136

@ignitedPotato

Description

@ignitedPotato

Whenever I have untagged local images, projects crash on startup:
Failed to start project ...: TypeError: Cannot read properties of null (reading 'includes')

Images look like this:

root@server:~# docker images -a        
REPOSITORY              TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
<none>                  <none>              5e2dfc857e73        5 days ago          261.6 MB
<none>                  <none>              d053e988f23d        5 days ago          261.6 MB
<none>                  <none>              1d5d4a2d89eb        5 days ago          261.6 MB

These lines seem responsible:

if (cont.RepoTags.includes(stackName)) {

if (cont.RepoTags.includes(stackName)) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Closed / Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions