Tag:

Docker WAN模拟器

我有一个程序运行在一个docker集装箱,他们彼此沟通。 由于容器主要运行在一台机器上,我想模拟这些容器的广域网来模拟丢包,延迟,延迟等。有没有一个轻量级的解决scheme呢? 我查了一下WANem,但似乎我需要把它放在一个额外的虚拟机器中,并把它放在docker集装箱的通信之间。 什么是理想的是在每个docker集装箱运行的程序模拟延迟,丢包等。

OrientDB Studio不在Windows Server 2016的Docker容器中启动

我正在用下面的Dockerfile创build一个OrientDB容器 FROM microsoft/windowsservercore LABEL Description="OrientDB" Vendor="OrientDB" Version="2.2.16" #install java #https://alexandrnikitin.github.io/blog/running-java-inside-windows-container-on-windows-server/ RUN powershell (new-object System.Net.WebClient).Downloadfile('http://javadl.oracle.com/webapps/download/AutoDL?BundleId=210185', 'C:\jre-8u91-windows-x64.exe') RUN powershell start-process -filepath C:\jre-8u91-windows-x64.exe -passthru -wait -argumentlist "/s,INSTALLDIR=c:\Java\jre1.8.0_91,/L,install64.log" RUN del C:\jre-8u91-windows-x64.exe RUN powershell -Command $path = $env:path + ';C:\Java\jre1.8.0_91\bin'; Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\' -Name Path -Value $path RUN powershell -Command \ $progressPreference = 'silentlyContinue' ; \ $ErrorActionPreference = 'Stop'; […]