Created
January 27, 2020 19:57
-
-
Save dibble-james/a9328df4b967dc7e701a552bfe082376 to your computer and use it in GitHub Desktop.
Sync Docker Desktop with Host
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$datetime = Get-Date; $dt = $datetime.ToUniversalTime().ToString('yyyy-MM-dd HH:mm:ss'); | |
docker run --net=host --ipc=host --uts=host --pid=host --security-opt=seccomp=unconfined --privileged --rm alpine date -s $dt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Setup with Windows Task Scheduler with a trigger of On Workstation Unlock