server icon indicating copy to clipboard operation
server copied to clipboard

docker errors

Open developmentkw opened this issue 1 year ago • 1 comments

I got two errors for docker, first one is a misspelling:

root@android-linux:~/docker/server# docker build -t barcodeAPIServer . ---> this I copied directly from the github readme

[+] Building 0.0s (0/0) docker:default ERROR: invalid tag "barcodeAPIServer": repository name must be lowercase


this error I get when I run the docker: root@android-linux:~/docker/server# docker run -p 9800:8080 -v $(pwd)/config:/config barcodeapiserver

Starting...

java.lang.NullPointerException: inStream parameter is null at java.base/java.util.Objects.requireNonNull(Unknown Source) at java.base/java.util.Properties.load(Unknown Source) at com.mclarkdev.tools.liblog.LibLog.loadStrings(LibLog.java:70) at org.barcodeapi.core.ServerLauncher.(ServerLauncher.java:72) at org.barcodeapi.Launcher.main(Launcher.java:36) Exception in thread "main" java.lang.NullPointerException at org.barcodeapi.Launcher.invokeSystemShutdown(Launcher.java:67) at org.barcodeapi.Launcher.main(Launcher.java:45) note: when I run via jar command , it works .

developmentkw avatar Dec 30 '23 14:12 developmentkw