mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-06 14:55:24 +02:00

* vagrant-plugin: add page * Update pages/common/vagrant-plugin.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Update pages/common/vagrant-plugin.md Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> * vagrant: add french translation. * vagrant-plugin: add french translation. * Update pages.fr/common/vagrant-plugin.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * vagrant-plugin: update french translation. * vagrant: update french translation. * Update pages.fr/common/vagrant.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/vagrant-plugin.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/vagrant.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/vagrant.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * Update pages.fr/common/vagrant.md Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com> * vagrant-plugin: fix quote style * vagrant-plugin: fix quote style --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> Co-authored-by: Alexandre ZANNI <16578570+noraj@users.noreply.github.com>
36 lines
744 B
Markdown
36 lines
744 B
Markdown
# vagrant
|
|
|
|
> Gère des environnements de développement légers, reproductibles et portables.
|
|
> Plus d'informations : <https://www.vagrantup.com>.
|
|
|
|
- Crée un fichier Vagrantfile dans le répertoire actuel avec l'image Vagrant de base :
|
|
|
|
`vagrant init`
|
|
|
|
- Crée un fichier Vagrantfile avec l'image Ubuntu 20.04 (Focal Fossa) depuis HashiCorp Atlas :
|
|
|
|
`vagrant init ubuntu/focal64`
|
|
|
|
- Démarre et configure l’environnement Vagrant :
|
|
|
|
`vagrant up`
|
|
|
|
- Suspend la machine :
|
|
|
|
`vagrant suspend`
|
|
|
|
- Arrête la machine :
|
|
|
|
`vagrant halt`
|
|
|
|
- Se connecte à la machine via SSH :
|
|
|
|
`vagrant ssh`
|
|
|
|
- Affiche la configuration SSH de la machine Vagrant en cours d’exécution :
|
|
|
|
`vagrant ssh-config`
|
|
|
|
- Liste toutes les images locales :
|
|
|
|
`vagrant box list`
|