Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
f32d9879
Commit
f32d9879
authored
Sep 05, 2014
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
builder/docker: error if DOCKER_HOST is set
parent
933c747a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
CHANGELOG.md
CHANGELOG.md
+1
-0
builder/docker/driver_docker.go
builder/docker/driver_docker.go
+5
-0
No files found.
CHANGELOG.md
View file @
f32d9879
...
...
@@ -55,6 +55,7 @@ BUG FIXES:
*
builder/amazon/all: Fix race condition on setting tags. [GH-1367]
*
builder/amazon/all: More desctriptive error messages if Amazon only
sends an error code. [GH-1189]
*
builder/docker: Error if
`DOCKER_HOST`
is set.
*
builder/docker: Remove the container during cleanup. [GH-1206]
*
builder/docker: Fix case where not all output would show up from
provisioners.
...
...
builder/docker/driver_docker.go
View file @
f32d9879
...
...
@@ -220,5 +220,10 @@ func (d *DockerDriver) Verify() error {
return
err
}
if
v
:=
os
.
Getenv
(
"DOCKER_HOST"
);
v
!=
""
{
return
fmt
.
Errorf
(
"DOCKER_HOST cannot be set with the Packer Docker builder."
)
}
return
nil
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment