Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install aborts with error message on Win10 #8

Open
eitzenbe opened this issue May 3, 2022 · 1 comment
Open

install aborts with error message on Win10 #8

eitzenbe opened this issue May 3, 2022 · 1 comment

Comments

@eitzenbe
Copy link

eitzenbe commented May 3, 2022

TASK [jimbo8098.windows_docker_role : Install latest Docker version] ***************************************************************************************
task path: /home/thomas/.ansible/roles/jimbo8098.windows_docker_role/tasks/main.yml:51
redirecting (type: modules) ansible.builtin.win_dsc to ansible.windows.win_dsc
fatal: [192.168.2.189]: FAILED! => {"changed": false, "module_version": "1.4.7", "msg": "Failed to invoke DSC Set method: PowerShell DSC resource MSFT_PackageManagement failed to execute Set-TargetResource functionality with error message: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Docker Engine - Enterprise is not supported on Windows 10 client. See https://aka.ms/docker-for-windows instead. ", "reboot_required": false}

@jimbo8098
Copy link
Owner

The role is tested to run on Windows Server 2019. There is a way to setup Docker on a Windows 10 client but this involves installing Docker Desktop and is somewhat more difficult. The following article goes through the installation which looks possible to implement in Ansible. If you feel so inclined - you're welcome to PR such a change.

https://docs.docker.com/desktop/windows/install/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants