-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to create new containers with 1.20.5 and 1.20.6 #2840
Comments
You definitely need to be using the java21 image but note the error
Are you using Portainer? It's usually the one that breaks the PATH variable like that. A |
Hmm, no, I'm just using regular I'll make sure I'm not using super old versions, it could be that. |
I have same issue on my server and also on the local machine.
I am traiing to start server on my qnap ts431 server and there I need to run from image java17, because of arm32. On my local windows machine it does not work as well with same error. Looks like that old version of java is inside of the container. When I modified the version and set 1.20.4 that it is looks like that it works. |
Same issue - regular
|
@darkweasel77 , run the following and provide the output of those
|
If I specify something other than latest (say java11 or java17):
I get:
|
@itzg I just installed jdk21 to see if that made a difference.
and
|
@darkweasel77 I really wanted to see what image you had pulled previously, which is why I requested the output of the specific command I provided. In any case, It'll probably work now. |
@itzg I'll set it back; w/ jdk21 I'm back to getting what I posted above. |
|
If i use:
I get:
|
@itzg maybe more context
vs
|
Thanks @darkweasel77 , that context seems interesting but I have no idea what it means 😀 The Java 21 is also from Eclipse Temurin so there's not a distro difference from Java 17. I'd say try googling for the Java VM error it's giving. |
@itzg FYI - I upgraded my version of docker on my server to the latest and the problem went away. |
could you give us docker versions for comparison? @darkweasel77 |
@VictorDrijkoningen I didn't copy the output of now:
|
Speaking of which, the separate |
I don't disagree - I had configured this server awhile ago with ubuntu 20.04, upgraded to 22.04 but never changed docker since it 'worked'. I followed this guide from docker to upgrade my docker sub-system. |
Sorry @darkweasel77 , that comment was really directed at anyone else reading this issue 😄 |
Describe the problem
I'm having an issue creating new containers for version 1.20.5 and 1.20.6 on Ubuntu 22.04.
I've pulled the latest versions of both of the java17 and java21 tagged images. I may be doing something silly!
Container definition
With java21:
With java17:
Container logs
With java21:
With java17:
The text was updated successfully, but these errors were encountered: