Build the image: docker build -t alpine-java-3 . Run the image, map the ports 8080 to host machine: docker run -d -p 8080:8080 alpine-java-3
Run SpringBoot app inside alpine docker container
Posted on
Ideas and notes on software development…
Build the image: docker build -t alpine-java-3 . Run the image, map the ports 8080 to host machine: docker run -d -p 8080:8080 alpine-java-3
Ok, so here is one very common question. How do I copy file from a docker image instance (container) to a host file system? Why? One common scenario would be, for example, running a continuous integration server and running Cucumber tests. Once you generate the HTML report, you’d like to copy the file to host…