Method: Docker::Exec#resize

Defined in:
lib/docker/exec.rb

#resize(query = {}) ⇒ Docker::Exec

Resize the TTY associated with the Exec instance

Parameters:

  • query (Hash) (defaults to: {})

    API query parameters

Options Hash (query):

  • h (Fixnum)

    Height of the TTY

  • w (Fixnum)

    Width of the TTY

Returns:



92
93
94
95
# File 'lib/docker/exec.rb', line 92

def resize(query = {})
  connection.post(path_for(:resize), query)
  self
end