Skip to content

Unable to create volume with 2.5.4 #495

@ceecko

Description

@ceecko

Starting with version 2.5.0 creating volume fails:

const Docker = require('dockerode')
const docker = new Docker({
  socketPath: '/var/run/docker.sock',
})

docker.createVolume({}, (err, volume) => {
  if(err) {
    console.trace(err);
    return;
  }

  console.log('ok')
})

This returns error Error: (HTTP code 400) unexpected - got EOF while reading request body

Docker version 18.06.1-ce
Works ok with v2.4.3

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions