Docker – Arrancar contenedor automáticamente
Para arrancar automáticamente un contenedor cuando se inicie Docker (cuando se encienda el sistema):
docker update --restart=always <contenedor>
Para arrancar automáticamente un contenedor cuando se inicie Docker (cuando se encienda el sistema):
docker update --restart=always <contenedor>
Al intentar arrancar el demonio docker consystemctl start docker obtenía este error: Failed to start Docker Application Container Engine Para solucionarlo: sudo rm /etc/docker/daemon.json
Se hace desde Window -> Preferences
SELECT sequence_name, last_number from user_sequences; Nota select secuencia.currval from dual solo se puede usar en la misma sesión que se haya hecho un secuencia.nextval.
find . -name "*.jar" |xargs grep -il NombreClase
Para que el contenedor docker no se arranque antes de tener montadas las unidades nfs se hace lo siguiente: sudo systemctl edit docker.service (o sudo vi /etc/systemd/system/docker.service.d/override.conf) Añadir las siguientes líneas: ### Anything between here and the comment below will become the new contents of the file [Service] RequiresMountsFor=/mnt/montaje1 /mnt/montaje2 ### Lines below this comment…
select * from tabla where dbms_lob.instr(campo, utl_raw.cast_to_raw(‘texto_a_buscar’))>0;