call mvn package docker image build -t spsassembler:1.1 -t spsassembler:latest . docker run --restart=always -d -p8180:8080 -p8181:8081 --name spsassembler spsassembler docker save -o="spsassembler.tar" spsassembler copy spsassembler.tar \\192.168.178.14\Docker\dockerbuild\spsassembler\ del spsassembler.tar