A docker wrapped version of the popular Octopus CLI, octo
Images are currently available for
Arguments passed to the container will be passed directly to the octo tool internally. For the full list of commands and parameters read our docs.
Help
>$ docker run --rm octopusdeploy/octo help Usage: octo <command> [<options>] Where <command> is one of: clean-environment Cleans all Offline Machines from an Environment ... ...
Print Version
>$ docker run --rm octopusdeploy/octo version 4.31.1
Packing and pushing requires providing a volume mount so that the container process is able to access the required files. Internally, the working directory is set to /src so the simplest approach is to mount this point to the current working directory, and then pass the command arguments relative to this location.
>$ docker run --rm -v $(pwd):/src octopusdeploy/octo pack --id=AcmeWeb --version=3.1.4 --basePath=WebApp --overwrite Packing AcmeWeb version "3.1.4"... Saving "AcmeWeb.3.1.4.nupkg" to "/src"... Done.
(When running on windows, replace the file mount $(pwd):/src with "$(Convert-Path .):C:\src")
>$ docker run --rm -v $(pwd):/src octopusdeploy/octo push --package AcmeWeb.3.1.4.nupkg --replace-existing --server https://myoctopus.acme.com --apiKey $env:apikey Octopus Deploy Command Line Tool, version 4.31.1 Handshaking with Octopus server: https://myoctopus.acme.com Handshake successful. Octopus version: 2018.4.0; API version: 3.0.0 Authenticated as: steve Pushing package: /src/AcmeWeb.3.1.4.nupkg... Push successful
if using Linux you can add the following function to ~/.bashrc to interact with the tool like a normal command. All parameters that refer to the filesystem (pack/push) can then just be referenced by relative path from the cwd.
echo 'function octo(){ sudo docker run --rm -v $(pwd):/src octopusdeploy/octo "$@" ;}' >> ~/.bashrc source ~/.bashrc octo pack --id=Acme --version=3.1.4 --basePath=OctopusDocker
Copyright (c) Octopus Deploy and contributors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use these files except in compliance with the License. You may obtain a copy of the License at
[***]
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
docker search 限制
站内搜不到镜像
离线 save/load
插件要用 plugin install
WSL 拉取慢
安全与 digest
新手拉取配置
镜像合规机制
不支持 push
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务