Upgrading docker 3 to 4
Unknown3.7.3 → 4.4.4
Fetching 14 releases from GitHub…0 / 14
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
Python requirement changed in 4.0.0: >=2.7, !=3.0.*, !=3.1.*, !=3.2.* → >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*.
Drops docker-pycreds.
Installs 7 packages in all (was 8).
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- added:
export Context - added:
export ContextAPI - added:
export TLSConfig
- changed:
constructor APIClient(base_url=…, version=…, timeout=…, tls=…, user_agent=…, num_pools=…, credstore_env=…) → constructor APIClient(base_url=…, version=…, timeout=…, tls=…, user_agent=…, num_pools=…, credstore_env=…, use_ssh_client=…, max_pool_size=…)
- changed:
method ContainerApiMixin.get_archive(container, path, chunk_size=…) → method ContainerApiMixin.get_archive(container, path, chunk_size=…, encode_stream=…)
- changed:
method ImageApiMixin.inspect_distribution(image) → method ImageApiMixin.inspect_distribution(image, auth_config=…) - changed:
method ImageApiMixin.pull(repository, tag=…, stream=…, auth_config=…, decode=…, platform=…) → method ImageApiMixin.pull(repository, tag=…, stream=…, auth_config=…, decode=…, platform=…, all_tags=…)
- changed:
method NetworkApiMixin.connect_container_to_network(container, net_id, ipv4_address=…, ipv6_address=…, aliases=…, links=…, link_local_ips=…) → method NetworkApiMixin.connect_container_to_network(container, net_id, ipv4_address=…, ipv6_address=…, aliases=…, links=…, link_local_ips=…, driver_opt=…)
- changed:
method SwarmApiMixin.init_swarm(advertise_addr=…, listen_addr=…, force_new_cluster=…, swarm_spec=…) → method SwarmApiMixin.init_swarm(advertise_addr=…, listen_addr=…, force_new_cluster=…, swarm_spec=…, default_addr_pool=…, subnet_size=…, data_path_addr=…) - changed:
method SwarmApiMixin.join_swarm(remote_addrs, join_token, listen_addr=…, advertise_addr=…) → method SwarmApiMixin.join_swarm(remote_addrs, join_token, listen_addr=…, advertise_addr=…, data_path_addr=…) - changed:
method SwarmApiMixin.update_swarm(version, swarm_spec=…, rotate_worker_token=…, rotate_manager_token=…) → method SwarmApiMixin.update_swarm(version, swarm_spec=…, rotate_worker_token=…, rotate_manager_token=…, rotate_manager_unlock_key=…)
- added:
variable BYTE_UNITS - added:
variable DEFAULT_HTTP_HOST - added:
variable DEFAULT_MAX_POOL_SIZE - added:
variable DEFAULT_NPIPE - added:
variable DEFAULT_SWARM_ADDR_POOL - added:
variable DEFAULT_SWARM_SUBNET_SIZE - added:
variable DEFAULT_UNIX_SOCKET
- added:
export Context - added:
export ContextAPI
- added:
class ContextAPI(object) - added:
field ContextAPI.DEFAULT_CONTEXT - added:
static method ContextAPI.contexts() - added:
static method ContextAPI.create_context(name, orchestrator=…, host=…, tls_cfg=…, default_namespace=…, skip_tls_verify=…) - added:
static method ContextAPI.get_context(name=…) - added:
static method ContextAPI.get_current_context() - added:
static method ContextAPI.inspect_context(name=…) - added:
static method ContextAPI.remove_context(name) - added:
static method ContextAPI.set_current_context(name=…)
- added:
function get_context_dir() - added:
function get_context_host(path=…, tls=…) - added:
function get_context_id(name) - added:
function get_current_context_name() - added:
function get_meta_dir(name=…) - added:
function get_meta_file(name) - added:
function get_tls_dir(name=…, endpoint=…) - added:
function write_context_name_to_docker_config(name=…) - added:
variable METAFILE
- added:
class Context - added:
constructor Context(name, orchestrator=…, host=…, endpoints=…, tls=…) - added:
method Context.inspect() - added:
method Context.is_docker_host() - added:
method Context.remove() - added:
method Context.save() - added:
method Context.set_endpoint(name=…, host=…, tls_cfg=…, skip_tls_verify=…, def_namespace=…) - added:
property Context.Host - added:
property Context.Metadata - added:
property Context.Name - added:
property Context.Orchestrator - added:
property Context.Storage - added:
property Context.TLSConfig - added:
property Context.TLSMaterial - added:
static method Context.load_context(name)
- added:
export CredentialsNotFound - added:
export Store - added:
export StoreError
- added:
variable DEFAULT_LINUX_STORE - added:
variable DEFAULT_OSX_STORE - added:
variable DEFAULT_WIN32_STORE - added:
variable PROGRAM_PREFIX
- added:
class CredentialsNotFound(StoreError) - added:
class InitializationError(StoreError) - added:
class StoreError(RuntimeError) - added:
function process_store_error(cpe, program)
- added:
class Store(object) - added:
constructor Store(program, environment=…) - added:
method Store.erase(server) - added:
method Store.get(server) - added:
method Store.list() - added:
method Store.store(server, username, secret)
- added:
function create_environment_dict(overrides) - added:
function find_executable(executable, path=…)
- added:
class ContextAlreadyExists(DockerException) - added:
class ContextException(DockerException) - added:
class ContextNotFound(DockerException) - added:
class MissingContextParameter(DockerException) - added:
constructor ContextAlreadyExists(name) - added:
constructor ContextException(msg) - added:
constructor ContextNotFound(name) - added:
constructor MissingContextParameter(param)
- changed:
method Container.get_archive(path, chunk_size=…) → method Container.get_archive(path, chunk_size=…, encode_stream=…) - added:
property Container.ports
- changed:
method ImageCollection.get_registry_data(name) → method ImageCollection.get_registry_data(name, auth_config=…) - changed:
method ImageCollection.pull(repository, tag=…, **kwargs) → method ImageCollection.pull(repository, tag=…, all_tags=…, **kwargs)
- changed:
method Swarm.init(advertise_addr=…, listen_addr=…, force_new_cluster=…, **kwargs) → method Swarm.init(advertise_addr=…, listen_addr=…, force_new_cluster=…, default_addr_pool=…, subnet_size=…, data_path_addr=…, **kwargs) - changed:
method Swarm.update(rotate_worker_token=…, rotate_manager_token=…, **kwargs) → method Swarm.update(rotate_worker_token=…, rotate_manager_token=…, rotate_manager_unlock_key=…, **kwargs)
- changed:
constructor NpipeHTTPAdapter(base_url, timeout=…, pool_connections=…) → constructor NpipeHTTPAdapter(base_url, timeout=…, pool_connections=…, max_pool_size=…)
- removed:
variable RETRY_WAIT_TIMEOUT - changed:
method NpipeSocket.connect(address) → method NpipeSocket.connect(address, retry_count=…) - added:
variable MAXIMUM_RETRY_COUNT
- changed:
constructor SSHConnection(ssh_transport, timeout=…) → constructor SSHConnection(ssh_transport=…, timeout=…, host=…) - changed:
constructor SSHConnectionPool(ssh_client, timeout=…, maxsize=…) → constructor SSHConnectionPool(ssh_client=…, timeout=…, maxsize=…, host=…) - changed:
constructor SSHHTTPAdapter(base_url, timeout=…, pool_connections=…) → constructor SSHHTTPAdapter(base_url, timeout=…, pool_connections=…, max_pool_size=…, shell_out=…) - added:
class SSHSocket(socket.socket) - added:
constructor SSHSocket(host) - added:
method SSHSocket.close() - added:
method SSHSocket.connect(**kwargs) - added:
method SSHSocket.makefile(mode) - added:
method SSHSocket.recv(n) - added:
method SSHSocket.send(data) - added:
method SSHSocket.sendall(data)
- changed:
constructor UnixHTTPAdapter(socket_url, timeout=…, pool_connections=…) → constructor UnixHTTPAdapter(socket_url, timeout=…, pool_connections=…, max_pool_size=…)
- added:
export DeviceRequest - added:
export NetworkAttachmentConfig
- added:
class DeviceRequest(DictType) - added:
constructor DeviceRequest(**kwargs) - added:
function host_config_incompatible_error(param, param_value, incompatible_param) - added:
property DeviceRequest.capabilities - added:
property DeviceRequest.count - added:
property DeviceRequest.device_ids - added:
property DeviceRequest.driver - added:
property DeviceRequest.options
- changed:
constructor EndpointConfig(version, aliases=…, links=…, ipv4_address=…, ipv6_address=…, link_local_ips=…) → constructor EndpointConfig(version, aliases=…, links=…, ipv4_address=…, ipv6_address=…, link_local_ips=…, driver_opt=…)
- changed:
constructor ContainerSpec(image, command=…, args=…, hostname=…, env=…, workdir=…, user=…, labels=…, mounts=…, stop_grace_period=…, secrets=…, tty=…, groups=…, open_stdin=…, read_only=…, stop_signal=…, healthcheck=…, hosts=…, dns_config=…, configs=…, privileges=…, isolation=…) → constructor ContainerSpec(image, command=…, args=…, hostname=…, env=…, workdir=…, user=…, labels=…, mounts=…, stop_grace_period=…, secrets=…, tty=…, groups=…, open_stdin=…, read_only=…, stop_signal=…, healthcheck=…, hosts=…, dns_config=…, configs=…, privileges=…, isolation=…, init=…) - changed:
constructor Placement(constraints=…, preferences=…, platforms=…) → constructor Placement(constraints=…, preferences=…, platforms=…, maxreplicas=…) - added:
class NetworkAttachmentConfig(dict) - added:
constructor NetworkAttachmentConfig(target, aliases=…, options=…)
- removed:
variable BYTE_UNITS - removed:
variable DEFAULT_HTTP_HOST - removed:
variable DEFAULT_NPIPE - removed:
variable DEFAULT_UNIX_SOCKET