DockerOverSSH 0.0.9-alpha
This is a prerelease version of DockerOverSSH.
dotnet tool install --global DockerOverSSH --version 0.0.9-alpha
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local DockerOverSSH --version 0.0.9-alpha
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=DockerOverSSH&version=0.0.9-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package DockerOverSSH --version 0.0.9-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
A dotnet tools for pushing docker image over SSH
1. Install as dotnet tools
dotnet tool install DockerOverSSH --prerelease
2. Push docker image over SSH
dotnet docker-over-ssh --ssh-key "/Users/dev/.ssh/id_ed25519" \
--ssh-host "192.168.10.10" \
--ssh-user "dev" \
--local-hostname "kubernetes.docker.internal" \
--local-port 4040 \
--registry-host "192.168.10.10" \
--registry-port 5000 \
--image "kubernetes.docker.internal:4040/myrepo/db:latest" \
--image "kubernetes.docker.internal:4040/myrepo/service1:latest" \
--image "kubernetes.docker.internal:4040/myrepo/api:latest"
Notes
- The local image name format must be
$local-hostname:$local-port/$image-id:$image-tag
Run from source code
dotnet run --ssh-key "/Users/dev/.ssh/id_ed25519" \
--ssh-host "192.168.10.10" \
--ssh-user "dev" \
--local-hostname "kubernetes.docker.internal" \
--local-port 4040 \
--registry-host "192.168.10.10" \
--registry-port 5000 \
--image "kubernetes.docker.internal:4040/myrepo/db:latest" \
--image "kubernetes.docker.internal:4040/myrepo/service1:latest" \
--image "kubernetes.docker.internal:4040/myrepo/api:latest"
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
Version | Downloads | Last Updated | |
---|---|---|---|
0.0.9-alpha | 117 | 3/19/2024 | |
0.0.8-alpha | 106 | 9/12/2023 | |
0.0.7-alpha | 155 | 12/21/2022 | |
0.0.6-alpha | 232 | 12/15/2022 | |
0.0.5-alpha | 139 | 12/12/2022 | |
0.0.4-alpha | 166 | 12/12/2022 | |
0.0.3-alpha | 134 | 12/10/2022 | |
0.0.2-alpha | 119 | 12/8/2022 | |
0.0.1-alpha | 131 | 12/8/2022 |