diff --git a/builder/docker/builder.go b/builder/docker/builder.go index 470fa0f6e..bbd92af1b 100644 --- a/builder/docker/builder.go +++ b/builder/docker/builder.go @@ -77,7 +77,7 @@ func (b *Builder) Run(ctx context.Context, ui packer.Ui, hook packer.Hook) (pack // Setup the state bag and initial state for the steps state := new(multistep.BasicStateBag) - state.Put("config", b.config) + state.Put("config", &b.config) state.Put("hook", hook) state.Put("ui", ui)