From 935dabb450f6b74318ec19bed3969f494e621a1a Mon Sep 17 00:00:00 2001 From: Marius Pana Date: Thu, 18 May 2023 11:25:05 +0300 Subject: [PATCH] update spearhead-docker to use triton-docker --- ...arhead-docker-cli.md => triton-docker-cli.md} | 16 ++++++++-------- en/mkdocs.yml | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) rename en/docs/docker/{spearhead-docker-cli.md => triton-docker-cli.md} (59%) diff --git a/en/docs/docker/spearhead-docker-cli.md b/en/docs/docker/triton-docker-cli.md similarity index 59% rename from en/docs/docker/spearhead-docker-cli.md rename to en/docs/docker/triton-docker-cli.md index 3ed81b2..09a37a2 100644 --- a/en/docs/docker/spearhead-docker-cli.md +++ b/en/docs/docker/triton-docker-cli.md @@ -1,7 +1,7 @@ # Spearhead Docker CLI ## Overview -The Spearhead Docker CLI tool installs compatible versions of the Docker and Docker Compose CLI known to work with the Spearhead Cloud. While the Spearhead Cloud supports most of the features from [Docker's 1.22](https://docs.docker.com/engine/api/v1.22/) spec there are some exceptions: +The Triton Docker CLI tool installs compatible versions of the Docker and Docker Compose CLI known to work with the Spearhead Cloud. While the Spearhead Cloud supports most of the features from [Docker's 1.22](https://docs.docker.com/engine/api/v1.22/) spec there are some exceptions: * docker build: building Docker images using the Spearhead Cloud Docker Host is not supported. Use your own local environment for building. * docker network: Spearhead Cloud supports many enhanced network concepts which are not available in Docker however you will have to use the Cloud Portal, the Spearhead CLI tool or the CloudAPI to manage them for now. @@ -11,7 +11,7 @@ The Spearhead Docker CLI tool installs compatible versions of the Docker and Doc * docker events: there are no plans to implement this feature ### Volumes -*spearhead-docker* volumes commands and concepts are different from Docker Inc's: +*triton-docker* volumes commands and concepts are different from Docker Inc's: * there is a limit of 8 'data' volumes per container * 'host' volumes (/hostpath:/containerpath) are not supported @@ -21,20 +21,20 @@ The Spearhead Docker CLI tool installs compatible versions of the Docker and Doc * When you use --volumes-from, volumes that don't belong to the container specified (including those that this container is sharing from others) are ignored. Only volumes belonging to the specified container will be considered. ## Installation -The following script will configure the Docker tools for use with the Spearhead Cloud. While you can use the native docker tools to communicate with the Spearhead Cloud Docker host we recommend using the spearhead-docker CLI tool as it takes into consideration deviations from the standard Docker API and will handle things accordingly. +The following script will configure the Docker tools for use with the Spearhead Cloud. While you can use the native docker tools to communicate with the Spearhead Cloud Docker host we recommend using the triton-docker CLI tool as it takes into consideration deviations from the standard Docker API and will handle things accordingly. The following script will leave your current Docker tools alone making it easy and convenient to switch between them. ``` -sudo bash -c 'curl -o /usr/local/bin/spearhead-docker https://code.spearhead.cloud/Spearhead/spearhead-docker-cli/raw/branch/master/spearhead-docker && chmod +x /usr/local/bin/spearhead-docker && ln -Fs /usr/local/bin/spearhead-docker /usr/local/bin/spearhead-compose && ln -Fs /usr/local/bin/spearhead-docker /usr/local/bin/spearhead-docker-install' +ssudo bash -c 'curl -o /usr/local/bin/triton-docker https://raw.githubusercontent.com/joyent/triton-docker-cli/master/triton-docker && chmod +x /usr/local/bin/triton-docker && ln -Fs /usr/local/bin/triton-docker /usr/local/bin/triton-compose && ln -Fs /usr/local/bin/triton-docker /usr/local/bin/triton-docker-install' ``` -That command will install the spearhead-docker shell script and link it as spearhead-compose and spearhead-docker-install. +That command will install the triton-docker shell script and link it as triton-compose and triton-docker-install. -To complete the installation, run *sudo spearhead-docker-install* to install the platform-specific versions of the Docker (now Moby) and Docker Compose CLI tools. These versions will not replace any existing Docker or Docker Compose versions you may have installed. +To complete the installation, run *sudo triton-docker-install* to install the platform-specific versions of the Docker (now Moby) and Docker Compose CLI tools. These versions will not replace any existing Docker or Docker Compose versions you may have installed. ## Usage -Once installed, use *spearhead-docker* and *spearhead-compose* in place of docker and docker-compose when interacting with the Spearhead Cloud. +Once installed, use *triton-docker* and *triton-compose* in place of docker and docker-compose when interacting with the Spearhead Cloud. -> Last edit: 2018 Thu 26 Jul 19:48 GMT+3 \ No newline at end of file +> Last edit: Thu May 18 11:23:54 EEST 2023 \ No newline at end of file diff --git a/en/mkdocs.yml b/en/mkdocs.yml index 956ba0c..b3255ce 100644 --- a/en/mkdocs.yml +++ b/en/mkdocs.yml @@ -17,7 +17,7 @@ nav: - Spearhead Cloud Tools: - Cloud Portal: cloud-portal.md - Spearhead CLI: triton-cli.md - - Spearhead Docker CLI: docker/spearhead-docker-cli.md + - Spearhead Docker CLI: docker/triton-docker-cli.md - Docker: - Docker Remote API implementation for Spearhead Cloud: docker/docker-remote-api.md - Featues: