Commit Graph

33 Commits

Author SHA1 Message Date
guessi 66615e3f56 reuse the func DockerDriver.Version() 2017-02-16 08:26:44 +08:00
guessi 5eae809b0c improve description 2017-02-16 01:14:21 +08:00
guessi c5e01da3c6 Conditional ignore `force` flag for `docker-tag`
`docker tag -f` will now become an error, since it was removed after
upgrading docker daemon to 1.12.0 (or later)

this PR is to bypass `force` flag if docker >= 1.12.0 was detected

reference:
- https://docs.docker.com/engine/deprecated/#/f-flag-on-docker-tag

Signed-off-by: guessi <guessi@gmail.com>
2017-02-16 00:50:46 +08:00
Matthew Hooker c41e32dbc1
print stderr on docker import failure 2017-02-09 20:41:29 -08:00
Florian Rey 73c5eac4f0 Handle commit author & message the same way 2016-11-24 13:33:42 +01:00
Florian Rey 06bebb63d0 Add log 2016-11-24 13:07:01 +01:00
Florian Rey c925acf502 Introduce docker commit changes 2016-11-24 11:42:34 +01:00
Hao 5139b853fa privilege enabled docker container (#3475)
Issue #2724
2016-04-29 19:12:20 -07:00
Mitchell Hashimoto cab2665119 builder/docker: support custom communicators 2015-06-14 22:09:38 -07:00
Mitchell Hashimoto 350aa4e522 Merge pull request #2055 from FGtatsuro/docker_tag_force
Support force option for docker-tag.
2015-05-29 16:05:00 -07:00
Mitchell Hashimoto 6570b53c4a builder/docker: use exec for v1.4+ 2015-05-29 09:29:59 -07:00
Mitchell Hashimoto faf327eed0 builder/docker: convert to new interpolation 2015-05-27 12:55:36 -07:00
FGtatsuro 09f379a928 Support force option for docker-tag. 2015-04-18 13:12:28 +09:00
Mitchell Hashimoto 607f7214b5 builder/docker: allow DOCKER_HOST 2014-10-27 16:49:39 -07:00
Mitchell Hashimoto e4dc5d31d8 builder/docker: support volumes 2014-09-05 15:48:42 -07:00
Mitchell Hashimoto 622b9f459a builder/docker: lock around Login 2014-09-05 15:06:07 -07:00
Mitchell Hashimoto d32b4b4f84 builder/docker: driver supports login/logout 2014-09-05 14:26:19 -07:00
Mitchell Hashimoto f32d9879dc builder/docker: error if DOCKER_HOST is set 2014-09-05 11:13:54 -07:00
Mitchell Hashimoto cb2c405d88 Merge branch 'feature/docker-image' of github.com:andytson/packer into andytson-feature/docker-image
Conflicts:
	config.go
2014-09-04 17:56:47 -07:00
Mitchell Hashimoto 74a4f27a16 buidler/docker: remove container [GH-1206] [GH-1095] 2014-09-04 17:03:24 -07:00
Andy Thompson 4a98ab377a Add Stderr capture to Commit and TagImage calls. 2014-07-21 20:42:24 +01:00
Andy Thompson ed446782f9 Add a docker save post processor 2014-07-21 20:42:24 +01:00
Andy Thompson bf16683140 Add a docker tag post processor 2014-07-21 20:42:23 +01:00
Andy Thompson 1baa63f060 Add a docker commit step to the docker builder that runs instead of export if export_path not present 2014-07-21 20:42:23 +01:00
Mitchell Hashimoto e8768785a0 website: add docs for docker-import and docker-push 2014-01-19 20:42:42 -08:00
Mitchell Hashimoto 8635085665 builder/docker: make Import part of this Driver for reuse 2014-01-19 19:55:01 -08:00
Mitchell Hashimoto 34dbf72142 post-processor/docker-import: have an Artifact
/cc @mmckeen
2014-01-19 19:48:06 -08:00
Mitchell Hashimoto 037a744be5 builder/docker: customize run command [GH-648] 2013-12-27 10:17:45 -07:00
Mitchell Hashimoto 832b4408a5 builder/docker: verify docker is available on path 2013-11-09 21:26:05 -08:00
Mitchell Hashimoto ab5f719734 builder/docker: show stderr if docker fails to run 2013-11-09 17:27:30 -08:00
Mitchell Hashimoto a58754b974 builder/docker: StepExport tests 2013-11-09 13:15:51 -08:00
Mitchell Hashimoto 0e3011cbce builder/docker: StepRun tests 2013-11-09 13:03:01 -08:00
Mitchell Hashimoto 62b81dc432 builder/docker: StepPull test, driver abstraction for tests 2013-11-09 12:12:23 -08:00