Skip to content

[Docker] Unable authenticate server in container #39

@Aranethon

Description

@Aranethon

Give me some information about how you run docker

For example more information about your system, os and other device specific things.

Unraid 7.0.1 through Docker Web GUI

Problem Summary

Briefly describe what happens when you try to run the container (e.g., "The container exits immediately" or "Permission denied error").

Java process runs until it asks for authentication with /auth
The docker attach [container name] command does not result in a usable prompt.
When running ps while in the container console, the java process is not listed.

root@b163af80f0f9:/home/container# ps
    PID TTY          TIME CMD
    705 pts/0    00:00:00 sh
    711 pts/0    00:00:00 su
    712 pts/0    00:00:00 bash
    715 pts/0    00:00:00 ps

Log files

Please provide me with your complete log file in a .txt file

Pastebin

Docker setup

Please provide me with your docker compose file or docker run command

docker run
  -d
  --name='hytale-server'
  --entrypoint='/opt/unraid/tailscale'
  --net='br0'
  --ip='192.168.1.111'
  --pids-limit 2048
  --privileged=true
  -e TZ="America/Los_Angeles"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Tower"
  -e HOST_CONTAINERNAME="hytale-server"
  -e 'TZ'='America/Vancouver'
  -e 'SERVER_IP'='0.0.0.0'
  -e 'SERVER_PORT'='5520'
  -e 'PROD'='FALSE'
  -e 'JAVA_ARGS'=''
  -e 'CACHE'='FALSE'
  -e 'HYTALE_ACCEPT_EARLY_PLUGINS'='TRUE'
  -e 'HYTALE_ALLOW_OP'='TRUE'
  -e 'HYTALE_AUTH_MODE'='FALSE'
  -e 'HYTALE_BACKUP'='FALSE'
  -e 'HYTALE_BACKUP_FREQUENCY'=''
  -e 'HYTALE_SERVER_NAME'='Allias Lads'
  -e 'HYTALE_MOTD'=''
  -e 'HYTALE_PASSWORD'=''
  -e 'HYTALE_MAX_VIEW_RADIUS'='32'
  -e 'HYTALE_COMPRESSION'='false'
  -e 'HYTALE_WORLD'='Kovalt'
  -e 'HYTALE_GAMEMODE'='Adventure'
  -e 'HYTALE_MAX_PLAYERS'='100'
  -e 'DEBUG'='FALSE'
  -e TAILSCALE_HOSTNAME='hytale-server'
  -e TAILSCALE_EXIT_NODE_IP='100.86.129.116'
  -e TAILSCALE_ALLOW_LAN_ACCESS='false'
  -e TAILSCALE_USE_SSH='false'
  -e TAILSCALE_USERSPACE_NETWORKING='false'
  -e TAILSCALE_STATE_DIR='/home/container/.tailscale_state'
  -e ORG_ENTRYPOINT="/usr/bin/tini
  --"
  -e ORG_CMD="/bin/sh /entrypoint.sh"
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.icon='https://hytale.com/static/images/logo-h.png'
  -l net.unraid.docker.tailscale.hostname='hytale-server'
  -v '/mnt/user/ryanshare/GameServers/HytaleServer':'/home/container':'rw'
  -v '/usr/local/share/docker/tailscale_container_hook':'/opt/unraid/tailscale'
  --device='/dev/net/tun'
  --cap-add=NET_ADMIN
  --user root 'deinfreu/hytale-server:experimental'

b163af80f0f98d8c0d5b361273181df1095d8ad050c5dacbca0503ec6cb23627

The command finished successfully!

PS: I'm aware I shouldn't be running it as root, but Tailscale throws a fit if I don't

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions