Docker container out of date
[Describe the bug]
Your docker container is not up-to-date. Thus when creating a tunnel, the service terminates.
[Steps To Reproduce]
-
Create a docker-compose.yml file, containg the following service:
services: ... localxpose: image: localxpose/localxpose:latest container_name: hes_kvp_localxpose restart: always depends_on: - flask environment: ACCESS_TOKEN: "your-access-token-here" # Create our SSH tunnel, redirecting to our flask container, port 5000 command: tunnel tls --to flask:5000 -S www.helloworld.com
Start the container, via terminal:
docker-compose up -d
-
View the container exec.
2025-01-19 21:18:07 2025/01/20 02:18:07 (tls, us) www.helloworld.com => [running] 2025-01-19 21:18:05 New update is available (24.9.2), please update to the latest version by calling `loclx update`
[Expected Behavior]
When the container starts, loclx should always update, then execute the entrypoint or command.
Or upon major loclx updates, update your localxpose/localxpose:latest repository on docker hub (https://hub.docker.com/r/localxpose/localxpose)
[Your Environment]
OS: Docker, Docker Compose on Windows 11 Pro
Arch: 64_bit
Post Information
Subscribe to post
Get notified by email when there are changes.
Upvoters
Post Details