Skip to content

Epic: real-world experience migrating from docker to nerdctl #4279

Open
@apostasie

Description

@apostasie

I am using a home-grown deployment tooling (similar to terraform-docker) that heavily relies on a (docker) cli to bring up networks, volumes and containers to a desired state on remote iot nodes.

The tool connects over ssh to the node, evaluate the current state of the deployment then delete / create the necessary resources to bring it to the desired state.

I first tried to migrate from docker last year - quickly faced with a large number of failures - this is when I got involved with nerdctl to fix them.

Trying again a year after, things are better, but there are still a number of blocking issues.

This ticket is meant to keep track of all of them. Eventually, they can be broken down in individual tickets to be fixed when they have a simple reproducer or a diagnosis (some of them already are).

Currently blocking:

Problematic, but not blocking:

Blocking using rootless:

Blocking using DHCP:

  • cni dhcp plugin does not seem to work well when there are multiple interfaces - in my context, eth0 is not connected, but wlan0 is - yet, dhcp insists on trying to bring up eth0 and get a lease of it, seemingly ignoring wlan0 - of course, it deadlines trying to do so
  • cni dhcp plugin will block nerdctl run: in failing above, nerdctl run will get stuck (waiting for dhcp), with no timeout - note that the above is in the context of a vlan network which parent is wlan0 - either I do not know how to use the dhcp plugin properly, or this thing is just not ready

Minor / can be workaround / can live without for now:

Fixed / patch pending:

There might very well be more once I get past these. Will update this ticket accordingly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions