Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Dernière révision Les deux révisions suivantes | ||
cours:service_oriented_computing_and_web_services_2017_2018:lecture2 [2018/02/15 12:43] tigli [Software Tool to Deploy Applications and Services : Docker] |
cours:service_oriented_computing_and_web_services_2017_2018:lecture2 [2018/02/24 13:19] tigli [Software Tool to Deploy Applications and Services : Docker] |
||
---|---|---|---|
Ligne 38: | Ligne 38: | ||
|| | || | ||
==== Software Tool to Deploy Applications and Services : Docker ==== | ==== Software Tool to Deploy Applications and Services : Docker ==== | ||
+ | || | ||
+ | Docker CE for Windows is Docker designed to run on Windows 10. It is a native Windows application that provides an easy-to-use development environment for building, shipping, and running dockerized apps. Docker CE for Windows uses Windows-native Hyper-V virtualization and networking and is the fastest and most reliable way to develop Docker apps on Windows. Docker CE for Windows supports running both Linux and Windows Docker containers. | ||
+ | |||
+ | == Docker for Windows requirements : Hyper V == | ||
+ | || | ||
+ | ** To verify compatibility **, open up ** PowerShell ** or a command prompt (cmd.exe) and type ** systeminfo **. If all listed Hyper-V requirements have a value of Yes, your system can run the Hyper-V role. If any item returns No, check the requirements listed in this document and make adjustments where possible. | ||
+ | |||
+ | ** To enable Hyper-V using PowerShell **, | ||
+ | * open a PowerShell console as Administrator. | ||
+ | * run the following command PowerShell : | ||
+ | //** Enable-WindowsOptionalFeature -Online -FeatureName:Microsoft-Hyper-V -All **// | ||
+ | * When the installation has completed you need to reboot the computer. | ||
+ | |||
+ | ** Be careful **, Hyper-V cannot be installed on Windows 10 Home or Family ! | ||
+ | If it's not the case, [[https://expertlogiciel.com/eb-blog/155-Comment-mettre-a-niveau-Windows-10-Famille-a-Windows-10-Pro|upgrade it to PRO]]. | ||
+ | |||
+ | See for more details : [[cours:service_oriented_computing_and_web_services_2017_2018:hyper-V|Hyper-V page]]. | ||
== DOCKER INSTALLATION and FIRST USES == | == DOCKER INSTALLATION and FIRST USES == | ||
+ | || | ||
* INSTALLATION of a local [[https://docs.docker.com/docker-for-windows/install/|Docker for Windows]] | * INSTALLATION of a local [[https://docs.docker.com/docker-for-windows/install/|Docker for Windows]] | ||
Ligne 48: | Ligne 66: | ||
* ** Shell Command to Manage Docker ** | * ** Shell Command to Manage Docker ** | ||
* MANUAL [[https://docs.docker.com/engine/reference/commandline/docker/|The base command for the Docker CLI]] | * MANUAL [[https://docs.docker.com/engine/reference/commandline/docker/|The base command for the Docker CLI]] | ||
+ | |||
== ADVANCED Uses of Docker == | == ADVANCED Uses of Docker == | ||
Ligne 53: | Ligne 72: | ||
== How to use Docker with Visual Studio == | == How to use Docker with Visual Studio == | ||
- | * INSTALLATION of Docker.DotNet (NuGet package) in VS 2017 (With Nuget Packages Manager in the Tools Menu)): Docker.DotNet is a library that allows you to interact with the Docker Remote API programmatically with fully asynchronous, non-blocking and object-oriented code in your .NET applications. | + | * INSTALLATION of **Docker.DotNet** (NuGet package) in VS 2017 (With Nuget Packages Manager in the Tools Menu)): Docker.DotNet is a library that allows you to interact with the Docker Remote API programmatically with fully asynchronous, non-blocking and object-oriented code in your .NET applications. |
* TEST IT : | * TEST IT : |