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:



99
100
101
102
# File 'lib/docker/exec.rb', line 99

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