Is there an existing issue for this?
Current Behavior
The image fails to run with fly.io.
$ fly logs
...
[info] INFO Preparing to run: `/init` as root
[info] INFO [fly api proxy] listening at /.fly/api
[info]s6-overlay-suexec: fatal: can only run as pid 1
It seems fly.io uses its own /init process [reference needed], which takes pid 1.
Expected Behavior
No response
Steps To Reproduce
Save this to fly.toml.
app = 'wgflyvpn'
[[services]]
internal_port = 51820
protocol = 'udp'
[[services.ports]]
port = 51820
[build]
image = 'lscr.io/linuxserver/wireguard'
[env]
PEERS = '1'
[mounts]
source = 'wgflyvpn_data'
destination = '/config'
Run
When it fails, run
Environment
- OS:
- How docker service was installed:
CPU architecture
x86-64
Docker creation
Container logs
[info] INFO Preparing to run: `/init` as root
[info] INFO [fly api proxy] listening at /.fly/api
[info]s6-overlay-suexec: fatal: can only run as pid 1
Is there an existing issue for this?
Current Behavior
The image fails to run with
fly.io.$ fly logs ... [info] INFO Preparing to run: `/init` as root [info] INFO [fly api proxy] listening at /.fly/api [info]s6-overlay-suexec: fatal: can only run as pid 1It seems
fly.iouses its own/initprocess [reference needed], which takes pid 1.Expected Behavior
No response
Steps To Reproduce
Save this to
fly.toml.Run
When it fails, run
Environment
CPU architecture
x86-64
Docker creation
Container logs
[info] INFO Preparing to run: `/init` as root [info] INFO [fly api proxy] listening at /.fly/api [info]s6-overlay-suexec: fatal: can only run as pid 1