# Notas de la versión de Docker Engine 18.03


## 18.03.1-ce
2018-04-26

### Cliente

- Corregir error al fusionar archivos compose con redes [docker/cli#983](https://github.com/docker/cli/pull/983)
* Corregir que `docker stack deploy` vuelva a desplegar servicios después de que el servicio fuera actualizado con `--force` [docker/cli#963](https://github.com/docker/cli/pull/963)
* Corregir la alineación de la salida de `docker version` [docker/cli#965](https://github.com/docker/cli/pull/965)

### Ejecución (Runtime)

- Corregir que los perfiles de AppArmor no se apliquen a los procesos de `docker exec` [moby/moby#36466](https://github.com/moby/moby/pull/36466)
- No ordenar el segmento (slice) de montaje de plugins [moby/moby#36711](https://github.com/moby/moby/pull/36711)
- Daemon/cluster: manejar entradas de adjuntos parciales durante la configuración [moby/moby#36769](https://github.com/moby/moby/pull/36769)
* Actualizar Golang a 1.9.5 [moby/moby#36779](https://github.com/moby/moby/pull/36779) [docker/cli#986](https://github.com/docker/cli/pull/986)
- Daemon/stats: muestreo de CPU más resiliente [moby/moby#36519](https://github.com/moby/moby/pull/36519)
* Containerd: actualizar a la versión 1.0.3 [moby/moby#36749](https://github.com/moby/moby/pull/36749)
- Corregir fuga de capas en Windows cuando falla la escritura [moby/moby#36728](https://github.com/moby/moby/pull/36728)
* No hacer que el montaje del contenedor sea no vinculable [moby/moby#36768](https://github.com/moby/moby/pull/36768)
- Corregir pánicos (panics) del Daemon al exportar contenedores tras un reinicio del daemon [moby/moby/36586](https://github.com/moby/moby/pull/36586)
- Corregir que la caché de digests se elimine en caso de errores de autenticación (autherrors) [moby/moby#36509](https://github.com/moby/moby/pull/36509)
- Asegurar que el contenedor del plugin se elimine en caso de fallo [moby/moby#36715](https://github.com/moby/moby/pull/36715)
- Copiar: evitar el uso de toda la memoria del sistema con plugins de autorización (authz) [moby/moby#36595](https://github.com/moby/moby/pull/36595)
- Relajar algunos bloqueos del cliente libcontainerd [moby/moby#36848](https://github.com/moby/moby/pull/36848)
- Actualizar `hcsshim` a v0.6.10 para mitigar [CVE-2018-8115](https://portal.msrc.microsoft.com/en-us/security-guidance/advisory/CVE-2018-8115)

### Modo Swarm (Swarm Mode)

* Incrementar el tick de Elección de raft a 10 veces el tick de Latido (Heartbeat) [moby/moby#36672](https://github.com/moby/moby/pull/36672)

### Redes (Networking)

* Eliminar de forma limpia los endpoints LB de los servicios [docker/libnetwork#2112](https://github.com/docker/libnetwork/pull/2112)
* Reintentar con otros servidores DNS externos en caso de ServFail [docker/libnetwork#2121](https://github.com/docker/libnetwork/pull/2121)
* Mejorar la escalabilidad de las reglas de aislamiento de red de tipo bridge [docker/libnetwork#2117](https://github.com/docker/libnetwork/pull/2117)
* Permitir valores de propiedad preestablecidos más grandes, no sobrescribir [docker/libnetwork#2124](https://github.com/docker/libnetwork/pull/2124)
* Prevenir pánicos (panics) en lecturas/escrituras concurrentes al llamar a `changeNodeState` [docker/libnetwork#2136](https://github.com/docker/libnetwork/pull/2136)

## 18.03.0-ce
2018-03-21

### Constructor (Builder)

* Cambiar a -buildmode=pie [moby/moby#34369](https://github.com/moby/moby/pull/34369)
* Permitir que el Dockerfile esté fuera del contexto de construcción [docker/cli#886](https://github.com/docker/cli/pull/886)
* Constructor: corregir aciertos de caché incorrectos al construir desde archivos tar [moby/moby#36329](https://github.com/moby/moby/pull/36329)
- Corrige fugas de archivos hacia otras imágenes en construcciones multi-etapa (multi-stage) [moby/moby#36338](https://github.com/moby/moby/pull/36338)

### Cliente

* Simplificar la serialización de tipos compose Config [docker/cli#895](https://github.com/docker/cli/pull/895)
+ Añadir soporte para múltiples archivos compose al realizar despliegues [docker/cli#569](https://github.com/docker/cli/pull/569)
- Corregir banderas de stack de Kubernetes rotas [docker/cli#831](https://github.com/docker/cli/pull/831)
- Corregir serialización de stack para Kubernetes [docker/cli#890](https://github.com/docker/cli/pull/890)
- Corregir y simplificar el autocompletado en bash para env de servicio, montajes y etiquetas [docker/cli#682](https://github.com/docker/cli/pull/682)
- Corregir filtros `before` y `since` para `docker ps` [moby/moby#35938](https://github.com/moby/moby/pull/35938)
- Corregir comportamiento extraño de `--label-file` [docker/cli#838](https://github.com/docker/cli/pull/838)
- Corregir compilación de defaultCredentialStore() en plataformas no compatibles [docker/cli#872](https://github.com/docker/cli/pull/872)
* Mejorar y corregir el completado en bash para imágenes [docker/cli#717](https://github.com/docker/cli/pull/717)
+ Añadida comprobación de origen vacío en montajes de tipo bind [docker/cli#824](https://github.com/docker/cli/pull/824)
- Corregir TLS desde variables de entorno en el cliente [moby/moby#36270](https://github.com/moby/moby/pull/36270)
* `docker build` ahora se ejecuta más rápido cuando se configuran ayudantes de credenciales específicos del registro [docker/cli#840](https://github.com/docker/cli/pull/840)
* Actualizar el filtro de eventos para autocompletado en zsh con `disable`, `enable`, `install` y `remove` [docker/cli#372](https://github.com/docker/cli/pull/372)
* Producir errores cuando se pasan IDs vacíos en las llamadas de inspección [moby/moby#36144](https://github.com/moby/moby/pull/36144)
* Serializar versión para el controlador k8s [docker/cli#891](https://github.com/docker/cli/pull/891)
* Establecer un tiempo de espera no nulo para la comunicación del cliente HTTP con el backend de plugins [docker/cli#883](https://github.com/docker/cli/pull/883)
+ Añadir la variable de entorno DOCKER_TLS para la opción --tls [docker/cli#863](https://github.com/docker/cli/pull/863)
+ Añadir la opción --template-driver para secretos/configs [docker/cli#896](https://github.com/docker/cli/pull/896)
+ Mover los comandos de `docker trust` fuera de experimental [docker/cli#934](https://github.com/docker/cli/pull/934) [docker/cli#935](https://github.com/docker/cli/pull/935) [docker/cli#944](https://github.com/docker/cli/pull/944)

### Registro de logs (Logging)

* Logs de AWS: no añadir nuevas líneas a eventos que alcancen el tamaño máximo [moby/moby#36078](https://github.com/moby/moby/pull/36078)
* Mover la lógica del validador de logs para ejecutarse después de que se carguen los plugins [moby/moby#36306](https://github.com/moby/moby/pull/36306)
* Soportar un proxy en el controlador de logs de Splunk [moby/moby#36220](https://github.com/moby/moby/pull/36220)
- Corregir log tail con logs vacíos [moby/moby#36305](https://github.com/moby/moby/pull/36305)

### Redes (Networking)

* Actualización de dependencias de libnetwork (revendoring) [moby/moby#36137](https://github.com/moby/moby/pull/36137)
- Corregir bloqueo mutuo (deadlock) al salir con actualización de Memberlist [docker/libnetwork#2040](https://github.com/docker/libnetwork/pull/2040)
* Corregir la opción ndots especificada por el usuario [docker/libnetwork#2065](https://github.com/docker/libnetwork/pull/2065)
- Corregir para usar ContainerID en Windows en lugar de SandboxID [docker/libnetwork#2010](https://github.com/docker/libnetwork/pull/2010)
* Verificar NetworkingConfig para asegurar que EndpointSettings no sea nulo [moby/moby#36077](https://github.com/moby/moby/pull/36077)
- Corregir problema de `DockerNetworkInternalMode` [moby/moby#36298](https://github.com/moby/moby/pull/36298)
- Corregir carrera en la vinculación de red adjuntable [moby/moby#36191](https://github.com/moby/moby/pull/36191)
- Corregir problema de tiempo de espera (timeout) de `InspectNetwork` en AArch64 [moby/moby#36257](https://github.com/moby/moby/pull/36257)
* Falta información detallada para el ID parcial de overlay [moby/moby#35989](https://github.com/moby/moby/pull/35989)
* Actualizar `FindNetwork` para abordar duplicaciones de nombres de red [moby/moby#30897](https://github.com/moby/moby/pull/30897)
* No permitir adjuntar la red de ingress [docker/swarmkit#2523](https://github.com/docker/swarmkit/pull/2523)
- Evitar la eliminación implícita de la red de ingress [moby/moby#36538](https://github.com/moby/moby/pull/36538)
- Corregir endpoints HNS obsoletos en Windows [moby/moby#36603](https://github.com/moby/moby/pull/36603)
- Correcciones IPAM para direcciones IP duplicadas [docker/libnetwork#2104](https://github.com/docker/libnetwork/pull/2104) [docker/libnetwork#2105](https://github.com/docker/libnetwork/pull/2105)

### Ejecución (Runtime)

* Habilitar HotAdd para Windows [moby/moby#35414](https://github.com/moby/moby/pull/35414)
* LCOW: Corrección en graphdriver para evitar bloqueo mutuo en hotRemoveVHDs [moby/moby#36114](https://github.com/moby/moby/pull/36114)
* LCOW: Montaje normal si solo hay una capa [moby/moby#36052](https://github.com/moby/moby/pull/36052)
* Eliminar la variable de entorno provisional LCOW_API_PLATFORM_IF_OMITTED [moby/moby#36269](https://github.com/moby/moby/pull/36269)
* Actualizar dependencias de Microsoft/opengcs a v0.3.6 [moby/moby#36108](https://github.com/moby/moby/pull/36108)
- Corregir problema donde ExitCode y PID no se muestran en Task.Status.ContainerStatus [moby/moby#36150](https://github.com/moby/moby/pull/36150)
- Corregir problema con el escáner de plugins al profundizar demasiado [moby/moby#36119](https://github.com/moby/moby/pull/36119)
* No hacer que los directorios principales de graphdriver sean montajes privados [moby/moby#36047](https://github.com/moby/moby/pull/36047)
* No desmontar recursivamente al limpiar zfs/btrfs [moby/moby#36237](https://github.com/moby/moby/pull/36237)
* No restaurar la imagen si la capa no existe [moby/moby#36304](https://github.com/moby/moby/pull/36304)
* Ajustar la versión mínima de la API para configs/secretos basados en plantillas [moby/moby#36366](https://github.com/moby/moby/pull/36366)
* Actualizar containerd a 1.0.2 (cfd04396dc68220d1cecbe686a6cc3aa5ce3667c) [moby/moby#36308](https://github.com/moby/moby/pull/36308)
* Actualizar Golang a 1.9.4 [moby/moby#36243](https://github.com/moby/moby/pull/36243)
* Asegurar que el directorio raíz del daemon se desmonte al apagar [moby/moby#36107](https://github.com/moby/moby/pull/36107)
* Actualizar runc a 6c55f98695e902427906eed2c799e566e3d3dfb5 [moby/moby#36222](https://github.com/moby/moby/pull/36222)
- Corregir la limpieza de contenedores al reiniciar el daemon [moby/moby#36249](https://github.com/moby/moby/pull/36249)
* Soportar mapeo de puertos SCTP (subir versión de API a v1.37) [moby/moby#33922](https://github.com/moby/moby/pull/33922)
* Soportar mapeo de puertos SCTP [docker/cli#278](https://github.com/docker/cli/pull/278)
- Corregir definición de la propiedad Volumes en ContainerConfig [moby/moby#35946](https://github.com/moby/moby/pull/35946)
* Actualizar moby y dependencias [docker/cli#829](https://github.com/docker/cli/pull/829)
* C.RWLayer: comprobar que no sea nulo antes de usar [moby/moby#36242](https://github.com/moby/moby/pull/36242)
+ Añadir `REMOVE` y `ORPHANED` a TaskState [moby/moby#36146](https://github.com/moby/moby/pull/36146)
- Corregida la detección de errores usando `IsErrNotFound` e `IsErrNotImplemented` para los métodos `ContainerStatPath`, `CopyFromContainer` y `CopyToContainer` [moby/moby#35979](https://github.com/moby/moby/pull/35979)
+ Añadir un paquete auxiliar integration/internal/container [moby/moby#36266](https://github.com/moby/moby/pull/36266)
+ Añadir ruta de importación canónica [moby/moby#36194](https://github.com/moby/moby/pull/36194)
+ Añadir/usar container.Exec() en integration [moby/moby#36326](https://github.com/moby/moby/pull/36326)
- Corregir singular/plural de "--node-generic-resource" [moby/moby#36125](https://github.com/moby/moby/pull/36125)
* Daemon.cleanupContainer: anular la capa RW del contenedor tras liberarla [moby/moby#36160](https://github.com/moby/moby/pull/36160)
* Daemon: pasar la opción `--oom-kill-disable` a containerd [moby/moby#36201](https://github.com/moby/moby/pull/36201)
* Mostrar un mensaje de advertencia cuando hay puertos vinculados y el modo de red es host [moby/moby#35510](https://github.com/moby/moby/pull/35510)
* Actualizar los remotos de containerd al reiniciar containerd [moby/moby#36173](https://github.com/moby/moby/pull/36173)
* Configurar la raíz del daemon para usar propagación compartida [moby/moby#36096](https://github.com/moby/moby/pull/36096)
* Optimizaciones para desmontajes recursivos [moby/moby#34379](https://github.com/moby/moby/pull/34379)
* Realizar los montajes de plugins en la ejecución (runtime) [moby/moby#35829](https://github.com/moby/moby/pull/35829)
* Graphdriver: Corregir fuga de memoria de RefCounter [moby/moby#36256](https://github.com/moby/moby/pull/36256)
* Usar el paquete continuity fs para la copia de volumen [moby/moby#36290](https://github.com/moby/moby/pull/36290)
* Usar proc/exe para la re-ejecución (reexec) [moby/moby#36124](https://github.com/moby/moby/pull/36124)
+ Añadir soporte en API para secretos y configs basados en plantillas [moby/moby#33702](https://github.com/moby/moby/pull/33702) y [moby/moby#36366](https://github.com/moby/moby/pull/36366)
* Usar propagación rslave para montajes desde la raíz del daemon [moby/moby#36055](https://github.com/moby/moby/pull/36055)
+ Añadir /proc/keys a las rutas enmascaradas [moby/moby#36368](https://github.com/moby/moby/pull/36368)
* Actualizar Runc a 1.0.0-rc5 [moby/moby#36449](https://github.com/moby/moby/pull/36449)
- Corrige `runc exec` en arquitecturas big-endian [moby/moby#36449](https://github.com/moby/moby/pull/36449)
* Usar chroot cuando no se proporcionen espacios de nombres de montaje [moby/moby#36449](https://github.com/moby/moby/pull/36449)
- Corregir la expansión de systemd slice de forma que cAdvisor pueda consumirla [moby/moby#36449](https://github.com/moby/moby/pull/36449)
- Corregir dispositivos montados con uid/gid incorrectos [moby/moby#36449](https://github.com/moby/moby/pull/36449)
- Corregir contenedores de solo lectura con montajes privados IPC `/dev/shm` en solo lectura [moby/moby#36526](https://github.com/moby/moby/pull/36526)

### Modo Swarm (Swarm Mode)

* Reemplazar la Clave Privada EC por PEMs PKCS#8 [docker/swarmkit#2246](https://github.com/docker/swarmkit/pull/2246)
* Corregir solapamiento de IPs con EndpointSpec vacío [docker/swarmkit #2505](https://github.com/docker/swarmkit/pull/2505)
* Añadir soporte para mapeo de puertos SCTP [docker/swarmkit#2298](https://github.com/docker/swarmkit/pull/2298)
* No reprogramar tareas si solo cambian las restricciones de ubicación (placement constraints) y son satisfechas por el nodo asignado [docker/swarmkit#2496](https://github.com/docker/swarmkit/pull/2496)
* Asegurar que stopChan del recolector de tareas (task reaper) se cierre como máximo una vez [docker/swarmkit #2491](https://github.com/docker/swarmkit/pull/2491)
* Correcciones de sincronización [docker/swarmkit#2495](https://github.com/docker/swarmkit/pull/2495)
* Añadir mensaje de log para indicar el reintento de envío de mensaje si la transmisión no está implementada [docker/swarmkit#2483](https://github.com/docker/swarmkit/pull/2483)
* Logs de depuración para sesión, eventos de nodo en dispatcher, latidos (heartbeats) [docker/swarmkit#2486](https://github.com/docker/swarmkit/pull/2486)
+ Añadir tipos de swarm al filtro de tipo de evento del autocompletado en bash [docker/cli#888](https://github.com/docker/cli/pull/888)
- Corregir problema donde la inspección de red no muestra la hora de creación (Created time) para redes en el ámbito de swarm [moby/moby#36095](https://github.com/moby/moby/pull/36095)

