less than 1 minute read

$ docker exec -i gerrit ls /var/gerrit/review_site/plugins
delete-project.jar
events-log.jar
$ docker cp reviewassistant.jar gerrit:/var/gerrit/review_site/plugins
$ docker exec -i gerrit ls /var/gerrit/review_site/plugins
delete-project.jar
events-log.jar
reviewassistant.jar

container:path 형식을 사용한다. gerrit은 컨테이너 이름.

참고 - cp - docker

Tags:

Categories:

Updated: