Skip to content

docker errors #15

@developmentkw

Description

@developmentkw

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 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions