github psviderski/uncloud v0.11.1

latest releases: v0.16.0, v0.15.1, v0.15.0...
6 months ago

Private registry support

Fixed authentication when pulling images from private container registries. uc deploy or uc run will try to retrieve the registry credentials from your local Docker config (~/.docker/config.json), including the configured credentials store. If the credentials are not found locally, the uncloudd daemon on the remote machine will try to retrieve the credentials from its own Docker config (/root/.docker/config.json).

In order to configure the credentials for your private registries, you can:

  1. (Recommended) Run docker login locally (where you run uc) if you have Docker CLI installed.
  2. Run docker login on your remote machines under root user or using sudo docker login so that the credentials are stored in the root-owned Docker config.

Upgrade to 0.11.1

⚠️ IMPORTANT: You need to run the following commands on your existing remote machines to allow the daemon to read credentials from the Docker config:

sudo sed -i 's/ProtectHome=true/ProtectHome=read-only/' /etc/systemd/system/uncloud.service
sudo systemctl daemon-reload
sudo systemctl restart uncloud

Newly provisioned machines will have the correct configuration automatically.

Uncloud CLI locally

To upgrade the Uncloud CLI (uc) locally:

# Homebrew (macOS, Linux)
brew upgrade uncloud

# Install script (macOS, Linux)
curl -fsS https://get.uncloud.run/install.sh | sh

Machine daemon

To upgrade the Uncloud daemon on your machines, run the following commands on each machine:

# AMD64
curl -fsSL -o uncloudd.tar.gz https://github.com/psviderski/uncloud/releases/download/v0.11.1/uncloudd_linux_amd64.tar.gz
# ARM64
# curl -fsSL -o uncloudd.tar.gz https://github.com/psviderski/uncloud/releases/download/v0.11.1/uncloudd_linux_arm64.tar.gz
tar -xf uncloudd.tar.gz
sudo install uncloudd /usr/local/bin/uncloudd
rm uncloudd uncloudd.tar.gz
sudo systemctl restart uncloud

Changelog

  • 12c0781 chore: add Caddy config to ServiceSpec, load x-caddy to it
  • 4be8339 chore: generate a minimal Caddyfile with verify handler alongside caddy.json
  • 9186d31 chore: go mod tidy
  • ec73f9e chore: handle x-caddy: path/to/Caddyfile to read Caddy config in compose from file
  • 8dd69b4 chore: refactor docker gRPC server to use docker service for inspecting and listing containers
  • 4cc1e55 chore: store ServiceContainer (includes service spec) instead of Container in Corrosion store
  • dd7bc6c chore: trim spaces for x-caddy, diff Caddy configs when comparing service specs
  • 5d3f1fe chore: x-caddy extension type in compose
  • c67127f feat: Add basic LLM instruction files
  • 1ce3e62 fix: use local and remote Docker credentials to pull image from private registry

Don't miss a new uncloud release

NewReleases is sending notifications on new releases.