CycleCloud project to enable use of docker containers in HPC clusters in Azure.
Перейти к файлу
microsoft-github-policy-service[bot] f3c6513e41
Auto merge mandatory file pr
This pr is auto merged as it contains a mandatory file and is opened for more than 10 days.
2023-05-31 18:48:02 +00:00
specs Basic Docker exercise test 2019-07-03 20:12:05 -04:00
templates Accessibility fixes 2020-11-13 12:09:29 -05:00
.gitignore Initial commit 2018-07-28 12:57:47 -07:00
LICENSE Initial commit 2018-07-28 12:57:50 -07:00
README.md Remove confusing README section that no longer applies 2018-11-09 09:12:54 -08:00
SECURITY.md Microsoft mandatory file 2023-01-24 16:35:39 +00:00
icon.png Initial check-in of Docker project 2018-07-30 10:49:32 -04:00
project.ini Basic Docker exercise test 2019-07-03 20:12:05 -04:00

README.md

Docker

This project installs and configures the Docker container system.

Docker is a system for building and running Linux Containers. See the Docker project site for more information and documentation.

The project includes an example cluster template which adds Docker to an SGE grid. But the Docker project is intended primarily as an additional capability that can be added to any Cyclecloud cluster.

Table of Contents

Pre-Requisites

This sample requires the following:

  1. CycleCloud must be installed and running.

    a. If this is not the case, see the CycleCloud QuickStart Guide for assistance.

  2. The CycleCloud CLI must be installed and configured for use.

  3. You must have access to log in to CycleCloud.

  4. You must have access to upload data and launch instances in your chosen Cloud Provider account.

  5. You must have access to a configured CycleCloud "Locker" for Project Storage (Cluster-Init and Chef).

  6. Optional: To use the cyclecloud project upload <locker> command, you must have a Pogo configuration file set up with write-access to your locker.

    a. You may use your preferred tool to interact with your storage "Locker" instead.

Deploying the Project

To upload the project (including any local changes) to your target locker, run the cyclecloud project upload command from the project directory. The expected output looks like this:


   $ cyclecloud project upload my_locker
   Sync completed!

IMPORTANT

For the upload to succeed, you must have a valid Pogo configuration for your target Locker.

Importing the Cluster Template

To import the cluster:

  1. Open a terminal session with the CycleCloud CLI enabled.

  2. Switch to the Docker project directory.

  3. Run cyclecloud import_template SGE-Docker -f templates/sge-docker.txt. The expected output looks like this:

    
    $ cyclecloud import_template SGE-Docker -f templates/sge-docker.txt --force
    Importing template PBS-Docker....
    ----------------------------
    SGE-Docker : *template*
    ----------------------------
    Keypair:
    Cluster nodes:
    master: off
    Total nodes: 1
    

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.