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/24 12:29] tigli |
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 == | == 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. | ||
- | {{ :cours:service_oriented_computing_and_web_services_2017_2018:hyper-v.png?500|}} | + | ** 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. | ||
- | Required Configuration : | + | ** Be careful **, Hyper-V cannot be installed on Windows 10 Home or Family ! |
- | The Hyper-V role can be enabled on these versions of Windows 10: | + | 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]]. |
- | * Windows 10 Enterprise | + | |
- | * Windows 10 Professional | + | |
- | * Windows 10 Education | + | |
- | The Hyper-V role cannot be installed on: | + | |
- | * Windows 10 Home | + | |
- | * Windows 10 Mobile | + | |
- | * Windows 10 Mobile Enterprise | + | |
- | * Installation d’Hyper-V | + | |
- | Hardware Requirements | + | See for more details : [[cours:service_oriented_computing_and_web_services_2017_2018:hyper-V|Hyper-V page]]. |
- | Although this document does not provide a complete list of Hyper-V compatible hardware, the following items are necessary: | + | |
- | + | ||
- | * 64-bit Processor with Second Level Address Translation (SLAT). | + | |
- | * CPU support for VM Monitor Mode Extension (VT-c on Intel CPU's). | + | |
- | * Minimum of 4 GB memory. As virtual machines share memory with the Hyper-V host, you will need to provide enough memory to handle the expected virtual workload. | + | |
- | + | ||
- | The following items will need to be enabled in the system BIOS: | + | |
- | + | ||
- | • Virtualization Technology - may have a different label depending on motherboard manufacturer. | + | |
- | • Hardware Enforced Data Execution Prevention. | + | |
- | 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. | + | |
== 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 76: | 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 == |