Skip to content

Commit b000648

Browse files
committed
Docker 1.12 support
1 parent 0934ed9 commit b000648

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ Creating small containers requires a lot of voodoo magic and it can be pretty pa
5454

5555
## RECENT UPDATES
5656

57-
Latest version: 1.15 (6/19/2016)
57+
Latest version: 1.16 (7/30/2016)
5858

59+
* Docker 1.12 support
5960
* User selected location to store DockerSlim state (global `--state-path` parameter).
6061
* Auto-generated seccomp profiles for Docker 1.10.
6162
* Python 3 support

master/inspectors/container/container_inspector.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,7 @@ func (i *Inspector) RunContainer() error {
153153
i.ContainerID = containerInfo.ID
154154
log.Infoln("docker-slim: created container =>", i.ContainerID)
155155

156-
if err := i.ApiClient.StartContainer(i.ContainerID, &dockerapi.HostConfig{
157-
PublishAllPorts: true,
158-
CapAdd: []string{"SYS_ADMIN"},
159-
Privileged: true,
160-
}); err != nil {
156+
if err := i.ApiClient.StartContainer(i.ContainerID, nil); err != nil {
161157
return err
162158
}
163159

0 commit comments

Comments
 (0)