简体   繁体   English

Docker for Linux提供了错误

[英]Docker for linux is giving error

I am new learner for Docker.I have a very simple question. 我是Docker的新手,我有一个非常简单的问题。 I want my application to work on Linux system but I am writing application in Windows.So do I need to install Docker for Windows or Linux? 我希望我的应用程序可以在Linux系统上运行,但是我正在Windows中编写应用程序,那么我需要为Windows或Linux安装Docker吗?

If I run using Docker for Linux,i am not getting option to run in windows and it is getting failed(I understand it might be some other unrelated error) but I need to confirm if my approach is correct or not. 如果我使用Docker for Linux运行,我没有选择在Windows中运行,并且运行失败(我知道这可能是其他一些不相关的错误),但是我需要确认我的方法是否正确。

Am I right in installing Docker for Linux? 我对Linux安装Docker是否正确? Also,in case I plan to move to AWS, what docker I need in that case. 另外,如果我计划迁移到AWS,在那种情况下我需要什么docker。

Thanks 谢谢

Consider docker as any software. 将docker视为任何软件。 if your OS is windows you install windows version of a software. 如果您的操作系统是Windows,则安装Windows版本的软件。 if your is a linux distro then you install linux version of a software. 如果您是linux发行版,则安装linux版本的软件。

So you need to install docker for windows afterwards you can install any docker image/container you want under your operating system. 因此,您需要在之后为Windows安装docker,然后才能在操作系统下安装任何想要的docker映像/容器。 Could be windows, linux or anything else. 可能是Windows,Linux或其他任何东西。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM