-
Articles récents
Catégories
- administration serveur
- applications web
- architecture
- bash
- développement
- docker
- ecommerce
- encodage
- expressions rationnelles (regex)
- gestion de projet web
- git
- internet
- javascript
- langages
- loisirs
- management
- mysql
- Non classé
- official docker tuto
- optimisation
- oracle
- outils
- pgsql
- php
- réseau – network
- seo
- sql
- symfony2
- test
- Version Control Systems (VCS)
- windows
- wordpress
Méta
Archives de catégorie : administration serveur
Solutions d’hébergement avec CI intégrée
Avec l’explosion des sites web en html/css/js (static websites), de nouveaux hébergeurs sont apparus. h1. Hébergement « statique » https://surge.sh https://www.netlify.com h1. Hébergements rapides : firebase Export/import de base (firestore) : possible only sur plan Blaze, qui est le plan le plus … Continuer la lecture
Publié dans administration serveur
Laisser un commentaire
Gestion des ports
# sous Mac Utilitaire de base pour inspecter les ports : lsof (list of open files !)
Publié dans administration serveur
Laisser un commentaire
5) Docker : project builds
Difficulty with docker builds is to understand when mounted volumes are available. # strategies : a) wrap a bash script around the docker runs & do commands via « docker exec » b) use COPY/ADD commands to inject context into the image … Continuer la lecture
Publié dans docker
Laisser un commentaire
3-11) Orchestrating services : manual way !
# ! you can actually create networks of containers without any docker-compose.yml file ! docker run –net –net-alias [] []
Publié dans docker
Laisser un commentaire
3-2) Networks
4 available network drivers : docker run –net [] – bridge (default) has its own virtual eth0 layer connected to a virtual docker0 switch layer – null ! no connection whatsoever ! – host takes on ALL network config of … Continuer la lecture
Publié dans docker
Laisser un commentaire
2-2) Docker introspection
# docker logs # docker inspect One prop : docker inspect –format « {{ prop.prop }} » # Discover reachable ports : docker port Ex. : tell me what port on the Host machine is mapped to port 80 on the container … Continuer la lecture
Publié dans docker
Laisser un commentaire
2-1) Dockerfile howtos
# independency of layers ! Base principle : each command within a Dockerfile (as in an image) is an INDEPENDENT LAYER ! This implies that each LAYER has its own environment. ! Example : CMD cd /tmp COPY ./* . … Continuer la lecture
Publié dans docker
Laisser un commentaire
2-4) manual building of images
A container can be turned into an image ! (although, the advised process is via Dockerfile) docker run -it – modify the container (install pkg, etc.) docker commit => yes, you’ve got your img 😉
Publié dans docker
Laisser un commentaire
docker internals
# docker-engine Docker-engine works via rest api over socket connections. (on Linux : Unix socket / on Windows : pipenet ? or tcp ?) # Localizations : ## On Windows 10 Infos glanées sur un forum docker : – Les … Continuer la lecture
Publié dans docker, Non classé
Laisser un commentaire