Commit Graph

48 Commits

Author SHA1 Message Date
Sylvia Moss bdd736b800
Interpolate vagrantfile_template on Vagrant post-processor (#9923) 2020-09-16 10:08:44 +02:00
Michael Kuryshev 6e77d9d3a9 builder/docker: runner support for --device 2020-07-14 10:37:44 -07:00
Michael Kuryshev 791a86c45e builder/docker: runner support for --cap-add, --cap-drop, --tmpfs 2020-07-14 10:34:10 -07:00
Adrien Delorme a81abd297b Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
Adrien Delorme c4f3dccc14 rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
Megan Marsh af01860fa9 remove old docker-toolbox limitation. 2019-03-27 15:29:22 -07:00
Megan Marsh 3b87f2a519 stop container before committing if windows 2019-03-27 15:25:51 -07:00
Megan Marsh 8f3313d81e Create new docker communicator for windows containers 2019-03-27 15:25:32 -07:00
Ladar Levison 6ac5971288 Fixed cmd order for docker driver. Added config to post proc. 2018-12-17 22:59:41 -06:00
Ladar Levison 10095678c8 Adding driver changes. 2018-12-17 22:37:32 -06:00
Ladar Levison 050f809a1c Add changes var to docker driver import func. 2018-12-17 22:04:43 -06:00
Krzysztof Wilczynski 567b566c23
docker: Remove AWS credentials and Session Token from being shown in the log.
Signed-off-by: Krzysztof Wilczynski <kw@linux.com>
2017-12-10 20:55:03 +01:00
Matthew Hooker 1901c0385f
remove login_email from docker
adds fixer
removes documentation
removes from docker builder and docker-push pp
2017-10-25 10:53:06 -07:00
Megan Marsh a281e60e15 de-mangle windows filepath to something docker can handle 2017-06-22 10:21:30 -07:00
Matthew Hooker 81522dced0
move packer to hashicorp 2017-04-04 13:39:01 -07:00
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