We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I,m trying to use dockerc for demo springboot application,like this:
FROM openjdk:17 ENV TZ=Asia/Shanghai COPY target/mvc_demo-0.0.1-SNAPSHOT.jar /opt/mvc_demo.jar WORKDIR / EXPOSE 8888 ENTRYPOINT ["sh", "-c", "java -jar /opt/mvc_demo.jar"]
./dockerc --image docker-daemon:mvc_demo:v5 --output mvc-demo --arch amd64
unknown argument ignored: lazytime thread 17037 panic: failed to run container (status/errno: 22) (-23): clone Unwind error at address `exe:0x1083476` (error.InvalidDebugInfo), trace may be incomplete thread 17027 panic: container didn't exist normally : 6 Unwind error at address `exe:0x1083476` (error.InvalidDebugInfo), trace may be incomplete
but it can be resolved after I add --rootful 2. another problem is seems like the hostname not work:
--rootful
Caused by: java.lang.RuntimeException: InetAddress java.net.InetAddress.getLocalHost() throws UnknownHostException See http://rocketmq.apache.org/docs/faq/ for further details. at org.apache.rocketmq.common.MixAll.localhost(MixAll.java:396) ~[rocketmq-common-4.9.4.jar!/:4.9.4] at org.apache.rocketmq.common.MixAll.<clinit>(MixAll.java:77) ~[rocketmq-common-4.9.4.jar!/:4.9.4] ... 35 common frames omitted Caused by: java.net.UnknownHostException: umoci-default: umoci-default: Temporary failure in name resolution at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1656) ~[na:na] at org.apache.rocketmq.common.MixAll.localhost(MixAll.java:386) ~[rocketmq-common-4.9.4.jar!/:4.9.4] ... 36 common frames omitted Caused by: java.net.UnknownHostException: umoci-default: Temporary failure in name resolution at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[na:na] at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:929) ~[na:na] at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1529) ~[na:na] at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:848) ~[na:na] at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1519) ~[na:na] at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1651) ~[na:na] ... 37 common frames omitted
then I remove some dependencys to skip it. 3. finally I start up my application, but no tcp listening on my machine. whether or not add -p args.
-p
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I,m trying to use dockerc for demo springboot application,like this:
./dockerc --image docker-daemon:mvc_demo:v5 --output mvc-demo --arch amd64
to package, I got this error affter executed the binary file:but it can be resolved after I add
--rootful
2. another problem is seems like the hostname not work:
then I remove some dependencys to skip it.
3. finally I start up my application, but no tcp listening on my machine. whether or not add
-p
args.The text was updated successfully, but these errors were encountered: