我要评分
获取效率
正确性
完整性
易理解

Failed to Create an IPvlan Network for a Container

Symptom

Failed to create the IPvlan network for the container and the message "plugin 'ipvlan' not found" is displayed.

Key Process and Cause Analysis

The container does not support IPvlan. You need to configure the container to support IPvlan.

Conclusion and Solution

  1. Open the daemon.json file.
    vim /etc/docker/daemon.json
  2. Change the field as following:
    {
       "experimental": true
    }
  3. Press Esc, type :wq!, and press Enter to save the file and exit.
  4. Restart the Docker service.