Trim "~" from container prefix; closes pterodactyl/panel#3310

This commit is contained in:
Dane Everitt 2021-05-02 11:00:10 -07:00
parent 3fda548541
commit da74ac8291

View File

@ -178,7 +178,7 @@ func (e *Environment) Create() error {
OpenStdin: true, OpenStdin: true,
Tty: true, Tty: true,
ExposedPorts: a.Exposed(), ExposedPorts: a.Exposed(),
Image: e.meta.Image, Image: strings.TrimPrefix(e.meta.Image, "~"),
Env: e.Configuration.EnvironmentVariables(), Env: e.Configuration.EnvironmentVariables(),
Labels: map[string]string{ Labels: map[string]string{
"Service": "Pterodactyl", "Service": "Pterodactyl",