-
Docker images support multiple platforms. When you run an image with multi-platform support, Docker automatically selects the image that matches your OS and architecture.
-
About local images storage : The default image store in Docker Engine do not separate image by platform type. Each image:tag erase the previsous one, independently of its image type To solve that you can enable the containerd image store by modifing daemon.json (https://docs.docker.com/storage/containerd/)
-
About BuildKit : BuildKit is enabled by default on Docker Engine >= 23.0. If not enabled, you may activate BuildKit which is a better docker build engine, with
export DOCKER_BUILD=1
or by modifying/etc/docker/daemon.json
with"features": {"buildkit" : true}
. It is not a requirement for basic multi platform support, but it is a requirement when usingbuildx
. -
DOC : https://docs.docker.com/build/building/multi-platform/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
various tips and tools for pdf |
- Autorize SSH connection from a local machine to a distant SSH machine without using a password
- Configure VSCode to use this SSH configuration
- DOC : https://code.visualstudio.com/docs/remote/troubleshooting
- NOTE : how to install OpenSSH Server on windows : https://learn.microsoft.com/fr-fr/windows-server/administration/openssh/openssh_install_firstuse?tabs=gui
sudo sed -i -e 's/false/true/' /Library/LaunchAgents/net.pulsesecure.pulsetray.plist
sudo cp -r /Applications/Pulse\ Secure.app/Contents/Plugins/JamUI/PulseTray.app /Applications/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set "FOLDER=X:\FOLDER" | |
for /r "%FOLDER%" /d %F in (.) do @dir /b "%F" | findstr "^" >nul || echo %~fF && rmdir /Q "%~fF" |
- Install Virtual Box (https://www.virtualbox.org)
- Install Oracle VM VirtualBox Extension Pack (https://www.virtualbox.org)
- Install Vagrant
mkdir osxvm
cd osxvm
vagrant init jhcook/osx-elcapitan-10.11
Ce guide part de l'installation de Kodi, le configure en français et permet d'obtenir un lecteur de streaming connecté à différentes sources d'hébergement de fichiers vidéos (uptobox, uptostream, lien https divers etc...)
Ainsi Kodi aura la capacité de streamer des contenus en accèdant à des catalogues de liens de fichiers hébergés en ligne tout en les présentant avec les informations complètes sur la vidéo (titre, résumé, ...)
NOTE : ce guide est rédigé avec le skin et menus par défaut de kodi qu'on a lors d'une toute première installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.casler.org/wordpress/synology-ssd-cache-on-external-devices/ | |
echo "Current values" | |
more /etc.defaults/synoinfo.conf | grep maxdisk | |
more /etc.defaults/synoinfo.conf | grep usbportcfg | |
more /etc.defaults/synoinfo.conf | grep esataportcfg | |
more /etc.defaults/synoinfo.conf | grep internalportcfg | |
sudo sed -i.bak -e 's/maxdisks=\".*$/maxdisks=\"24\"/g' -e 's/usbportcfg=\".*$/usbportcfg=\"0x00\"/g' -e 's/esataportcfg=\".*$/esataportcfg=\"0x00\"/g' -e 's/internalportcfg=\".*$/internalportcfg=\"0xffffff\"/g' /etc.defaults/synoinfo.conf | |
echo "Updated values" | |
more /etc.defaults/synoinfo.conf | grep maxdisk | |
more /etc.defaults/synoinfo.conf | grep usbportcfg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://unix.stackexchange.com/a/493548 | |
find /dir1 -mindepth 2 -type f -exec mv -t /dir1 --backup=t '{}' + |
NewerOlder