Docker commit не работает на Windows Server 2019 - PullRequest
0 голосов
/ 03 апреля 2019

У меня есть виртуальная машина Windows Server 2019 для работы с Docker, 250 ГБ жесткого диска и 16 ГБ оперативной памяти.

Я написал dockerfile для копирования некоторых настроек, а затем вручную запустил установку на контейнерах. Теперь мне нужно создать изображение, используя эти контейнеры. Когда я использую Docker commit, он выдает ошибку как

"Error response from daemon: re-exec error: exit status 1: output: time=“2019-04-02T12:22:17+05:30” level=error msg=“hcsshim::ImportLayer failed in Win32: The system cannot find the path specified. (0x3) path=\?\C:\ProgramData\Docker\windowsfilter\5bb9eea39e188d382fb8f336112584f3100797ac9fa887012e70c78fa7f2245a folder=C:\ProgramData\Docker\tmp\hcs981676719”
hcsshim::ImportLayer failed in Win32: The system cannot find the path specified. (0x3) path=?\C:\ProgramData\Docker\windowsfilter\5bb9eea39e188d382fb8f336112584f3100797ac9fa887012e70c78fa7f2245a folder=C:\ProgramData\Docker\tmp\hcs981676719"

Версия Docker: Клиент: Docker Engine - Сообщество Версия: 18.09.2 Версия API: 1.39 Версия Go: go1.10.8 Git commit: 6247962 Построен: вс 10 февраля 04:12:31 2019 OS / Arch: windows / amd64 Экспериментальный: ложь

Сервер: Docker Engine - Сообщество Двигатель: Версия: 18.09.2 Версия API: 1.39 (минимальная версия 1.24) Версия Go: go1.10.6 Git commit: 6247962 Построен: вс 10 февраля 04:28:48 2019 OS / Arch: windows / amd64 Экспериментальный: ложь

PS C:\data1> docker commit fcc9a5618b85 test:v1 #Committing Container

Error response from daemon: re-exec error: exit status 1: output: time=“2019-04-02T12:22:17+05:30” level=error msg=“hcsshim::ImportLayer failed in Win32: The system cannot find the path specified. (0x3) path=\?\C:\ProgramData\Docker\windowsfilter\5bb9eea39e188d382fb8f336112584f3100797ac9fa887012e70c78fa7f2245a folder=C:\ProgramData\Docker\tmp\hcs981676719”
hcsshim::ImportLayer failed in Win32: The system cannot find the path specified. (0x3) path=?\C:\ProgramData\Docker\windowsfilter\5bb9eea39e188d382fb8f336112584f3100797ac9fa887012e70c78fa7f2245a folder=C:\ProgramData\Docker\tmp\hcs981676719

Ожидаемые результаты:

PS C:\temp> docker commit suspicious_babbage temp-mysql:v1
sha256:6b4ddfffe4743cc21894ff3beb173fb7d24a7646f0c1b1fcb948eb60832717b1

Фактический результат:

PS C:\data1> docker commit fcc9a5618b85 test:v1 #Committing Container

Error response from daemon: re-exec error: exit status 1: output: time=“2019-04-02T12:22:17+05:30” level=error msg=“hcsshim::ImportLayer failed in Win32: The system cannot find the path specified. (0x3) path=\?\C:\ProgramData\Docker\windowsfilter\5bb9eea39e188d382fb8f336112584f3100797ac9fa887012e70c78fa7f2245a folder=C:\ProgramData\Docker\tmp\hcs981676719”
hcsshim::ImportLayer failed in Win32: The system cannot find the path specified. (0x3) path=?\C:\ProgramData\Docker\windowsfilter\5bb9eea39e188d382fb8f336112584f3100797ac9fa887012e70c78fa7f2245a folder=C:\ProgramData\Docker\tmp\hcs981676719
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...