docker build -f dockfile -t tag:version . // to build one new image
docker run -itd -P -v data:/data
how to mount a new directory to docker run
1,docker commit contanerid new imagename // submit a new image
2,docker stop old
3,dock run....
docker build -f dockfile -t tag:version . // to build one new image
docker run -itd -P -v data:/data
how to mount a new directory to docker run
1,docker commit contanerid new imagename // submit a new image
2,docker stop old
3,dock run....