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,
Tty: true,
ExposedPorts: a.Exposed(),
Image: e.meta.Image,
Image: strings.TrimPrefix(e.meta.Image, "~"),
Env: e.Configuration.EnvironmentVariables(),
Labels: map[string]string{
"Service": "Pterodactyl",