Giter Club home page Giter Club logo

sysadminproject's Introduction

Projet d'Administration Système et Réseaux II

  1. Cloner le repo :
git clone https://github.com/Rachiid007/sysAdminProject
  1. Ouvrez une session dans votre VPS avec Putty ou SSH via votre clé publique/privée.

  2. Installer Docker sur le VPS

Commandes Docker utile :

images

  1. Créer une image
docker build -t NOM_IMAGE .
  1. Supprimer une image
docker rmi NOM_IMAGE

Containers

  1. Démarrer un container
docker start NOM_CONTAINER
  1. Arrêter un container
docker stop NOM_CONTAINER
  1. Supprimer un container
docker rm NOM_CONTAINER
  1. Afficher les logs
docker logs NOM_CONTAINER
  1. Executer une commande dans un container qui tourne :
docker exec -ti NOM_ID /bin/bash

Donner un tag à l'image avant de l'envoyer sur le repo :

  • docker tag [image-name] rachiid007/admin_project:[image-name]
  • docker push rachiid007/admin_project:[image-name]

Reset Docker sur Ubuntu: Attention, tous les containers, images, volumes et network seront supprimés !

sudo docker system prune -a

sysadminproject's People

Contributors

rachiid007 avatar nepsylon avatar fantuzzisebastien avatar

Watchers

 avatar  avatar

sysadminproject's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.