📜  windows docker update clock - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:43.341000             🧑  作者: Mango

代码示例1
# From PowerShell:
$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