informatica:sistemas_operativos:virtualizacion:vagrant
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
| informatica:sistemas_operativos:virtualizacion:vagrant [2021/06/26 19:29] – [Línea de comandos] tempwin | informatica:sistemas_operativos:virtualizacion:vagrant [2021/06/26 20:29] (actual) – [Vagrantfile] tempwin | ||
|---|---|---|---|
| Línea 4: | Línea 4: | ||
| * [[https:// | * [[https:// | ||
| + | |||
| + | ===== Terminología ===== | ||
| + | |||
| + | * **Box**: entorno Vagrant empaquetado. | ||
| + | * **Provider**: | ||
| + | * **Provisioner**: | ||
| + | * **Vagrantfile**: | ||
| ===== Uso ===== | ===== Uso ===== | ||
| Línea 21: | Línea 28: | ||
| <code ruby> | <code ruby> | ||
| Vagrant.configure(" | Vagrant.configure(" | ||
| - | config.vm.box = "ubuntu/trusty64" | + | config.vm.box = "debian/buster64" |
| end | end | ||
| </ | </ | ||
| Línea 39: | Línea 46: | ||
| </ | </ | ||
| - | vagrant init>> Initialize the directory as a Vagrant | + | * '' |
| - | + | * '' | |
| - | vagrant box add < | + | * '' |
| - | + | * '' | |
| - | vagrant up>> Create and configure the guest machine(s) defined in the Vagrantfile. | + | * '' |
| - | + | * '' | |
| - | vagrant ssh>> | + | * '' |
| - | + | * '' | |
| - | vagrant halt>> Attempt a graceful shutdown of the guest machine(s) | + | * '' |
| - | + | * '' | |
| - | vagrant suspend>> Suspend the machine(s) in its current state; does not shut down machine(s). | + | |
| - | + | ||
| - | vagrant resume>> Start stopped guest machine(s), whether halted or suspended. | + | |
| - | + | ||
| - | vagrant reload>> Reboot guest machine; the same as running | + | |
| - | + | ||
| - | vagrant status>> View state of machines managed by Vagrant | + | |
| - | + | ||
| - | vagrant destroy>> Remove guest machine(s). | + | |
informatica/sistemas_operativos/virtualizacion/vagrant.1624728564.txt.gz · Última modificación: por tempwin
