What command is used to export a docker image as an archive?

DWQA QuestionsCategory: QuestionsWhat command is used to export a docker image as an archive?
Editor Staff asked 1 month ago

What command is used to export a docker image as an archive?

1 Answers
Editor Staff answered 1 month ago

This can be done using the docker save command and the syntax is: docker save -o <exported_name>.tar <container-name>