.TH "DOCKER" "1" "Feb 2021" "Docker Community" "" .nh .ad l .SH NAME .PP docker\-plugin\-create \- Create a plugin from a rootfs and configuration. Plugin data directory must contain config.json and rootfs directory. .SH SYNOPSIS .PP \fBdocker plugin create [OPTIONS] PLUGIN PLUGIN\-DATA\-DIR\fP .SH DESCRIPTION .PP Create a plugin from a rootfs and configuration. Plugin data directory must contain config.json and rootfs directory. .SH OPTIONS .PP \fB\-\-compress\fP[=false] Compress the context using gzip .PP \fB\-h\fP, \fB\-\-help\fP[=false] help for create .SH SEE ALSO .PP \fBdocker\-plugin(1)\fP