草庐IT

安装docker

全部标签

Windows 上 Docker 中的 Node.js 开发环境

我已经尝试了所有我能想到的。我已阅读文档、博客并尝试在github上关注示例。但我似乎无法让它工作。我想做的很简单。我想在我的windows8.1机器上编写我的node.js代码,我还想从Docker容器中运行代码,而不必一直重建容器。所以我想将我的Windows主机上的目录映射到容器内的目录。我已经创建了这个DockerfileFROMnode:0.10.38RUNapt-getupdate-qq&&apt-getinstall-ybuild-essentialENVZMQ_VERSION4.1.3ENVLIBSODIUM_VERSION1.0.3RUNcurl-SLO"https:

python - 尝试使用 pip 安装 pandas 时权限被拒绝

我正在尝试使用pip从Windows命令行安装Pythonpandas包:pipinstallpandas但我收到以下错误。我还从这里下载了wheel版本https://pypi.python.org/pypi/pandas/0.17.0/#downloads也试过了:pipinstallpandas-0.17.1-cp35-none-win_amd64.whl无论哪种情况,我都会收到此错误:Exception:Traceback(mostrecentcalllast):File"c:\users\adi\appdata\local\programs\python\python35\l

node.js - 没有嵌套 node_modules 的 NPM 安装包

我遇到了Windows路径字符限制。例如,当我运行“gulp”安装时,通过npminstall--save-devgulp在“C:\Users\MyUsername\VisualStudio2015\Projects\MyProject”这样的文件夹中,我发现所有的依赖关系都嵌套得很深,比如:C:\Users\MyUsername\VisualStudio2015\Projects\MyProject\node_modules\gulp\node_modules\gulp-util\node_modules\dateformat\node_modules\meow\node_modul

windows - WAMP 在安装时显示缺少 MSVCP140.dll

当我尝试在我的Windows7机器上安装WampServer2.5时,一条警告消息说缺少MSVCP140.dll文件。我发现MSVCP140.dll是运行时支持DLL->“VisualC++RedistributableforVisualStudio2015”文件。然而,即使我从这个link下载后,这个警告仍然出现并安装它。我也调查了这个link但也没有运气:( 最佳答案 我目前正在运行Windows64位和WAMPServer64位。我通过这个link安装了32位和64位msvcp140运行时在运行wampserver安装之前。它

c# - 有没有办法通过 native C# 调用检测在系统上安装了哪些 Windows 应用商店应用程序?

我正在尝试复制Get-AppxPackage的功能和Get-ProvisionedAppxPackage我正在构建的C#应用程序的Powershellcmdlet,但我什至不知道如何开始。由于thisproblem,我无法使用C#PowershellAPI,所以如果可能的话,我想要一个原生的C#解决方案。 最佳答案 您可以使用Windows.Management.Deployement.PackageManager从代码而不是从PowerShell查找、删除、安装等包。Enumerateapppackagessample演示了如何在

windows - vagrant 插件安装在哪里?

我很想知道究竟在哪里安装了vagrant插件。我目前正在Windows上查看vagrant安装,我的示例是vagrant-timezone插件。我最好的猜测是在C:\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.8.1\plugins中,但我在那里的任何地方都没有看到“时区”? 最佳答案 从更多的研究来看,插件的信息似乎分布在几个位置:%USERPROFILE%\.vagrant.d\plugins.json列出所有已安装的插件%USERPROFILE%\.vagrant.d\gems

windows - Windows 上的 Docker 与 Dart Docker Image

为了确保dart运行时docker镜像的安全,需要如何解决此警告?docker镜像最终将托管在谷歌云中。YouarebuildingaDockerimagefromWindowsagainstanon-WindowsDockerhost.Allfilesanddirectoriesaddedtobuildcontextwillhave'-rwxr-xr-x'permissions.Itisrecommendedtodoublecheckandresetpermissionsforsensitivefilesanddirectories." 最佳答案

windows - Windows 上的 Docker-Compose 权限被拒绝

我目前正在学习Docker,正在阅读《UsingDocker》这本书。在第5章中,作者从使用dockerrun切换到使用dockercompose,这在我的测试应用程序中产生了一个permissiondenied错误。有什么我可以做的让它工作吗?我使用:Windows10家庭版,带Docker工具箱Docker版本是1.12.0DockerCompose版本为1.8.0,构建d988a55DockerFile:FROMpython:3.4RUNgroupadd-ruwsgi&&useradd-r-guwsgiuwsgiRUNpipinstallFlask==0.10.1uWSGI==2

windows - 在运行 Windows 7 的服务器上安装 GitLab

我需要在运行Windows7的服务器上安装GitLab,但我被阻止在这一行。该文档并没有真正帮助我。以下是我的命令提示符:C:\GitLab-Runner>gitlab-runner.exeregisterPleaseentergitlab-cicoordinatorURL(e.g.https://gitlab.com/):https://gitlab.comPleaseenterthegitlab-citokenforthisrunner:我在哪里可以找到这个token? 最佳答案 您正在尝试安装GitLabRunner,它用于运

python - 在 Windows 7 x64 中的 PyPy3.5 v5.10 上使用 ensurepip 进行 pip 安装

为什么我不能用pypy3-mensurepip安装pip?我已经从officialpackage解压PyPy,并按照officialdocs中的说明进行操作但导致错误。解释器日志如下。Traceback(mostrecentcalllast):File"D:\pypy3-v5.10.0-win32\lib-python\3\runpy.py",line193,in_run_module_as_main"__main__",mod_spec)File"D:\pypy3-v5.10.0-win32\lib-python\3\runpy.py",line85,in_run_codeexec(