This is minimal reproducible sample on how to create 2 Docker Windows containers and set-up Powershell communication between them
- Pull files from Github:
https://github.com/jasper22/DockerContainersPowershellCommunications.git
- Enter to this folder from any shell
- Run Docker compose to build all images:
docker-compose.exe build
- Start containers:
docker-compose.exe up
Now you should see the that computer2
start endless pinging of remote server and computer1
will try to run remote command on computer2
Enjoy ! 😉
- How to Configure Windows Remote PowerShell Access for Non-Privileged User Accounts
- Setting WMI user access permissions using the WMI Control Panel
- Ansible: Windows Remote Management
- Enable PSRemoting via Powershell to Use Remoting Features!
P.S. If you encourage any issues please open 'Issue'