Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ynlamy/vagrant-dockerlab
A Docker CE development environment with Vagrant using VMware Workstation
https://github.com/ynlamy/vagrant-dockerlab
dev docker vagrant
Last synced: about 2 months ago
JSON representation
A Docker CE development environment with Vagrant using VMware Workstation
- Host: GitHub
- URL: https://github.com/ynlamy/vagrant-dockerlab
- Owner: ynlamy
- Created: 2024-03-17T15:41:14.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-21T07:47:07.000Z (6 months ago)
- Last Synced: 2024-10-15T04:41:40.014Z (3 months ago)
- Topics: dev, docker, vagrant
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vagrant-dockerlab
A Docker CE development environment with [Vagrant](https://www.vagrantup.com/) using [VMware Workstation](https://www.vmware.com/) created by Yoann LAMY under the terms of the [GNU General Public License v3](http://www.gnu.org/licenses/gpl.html).
This Docker CE environment is based on a [Rocky Linux 9](https://rockylinux.org/) distribution and contains :
* [Docker CE](https://www.docker.com/)
* [Lazydocker](https://github.com/jesseduffield/lazydocker) is a terminal UI for both docker and docker-compose
* [Docker Registry](https://hub.docker.com/_/registry) is a private docker registry
* [Docker Registry UI](https://github.com/Joxit/docker-registry-ui) is a user interface for your private docker registry
* [Hadolint](https://github.com/hadolint/hadolint) is a Dockerfile linter that helps you build best practice Docker images
* [Trivy](https://github.com/aquasecurity/trivy) is a security scannerThe timezone can be defined through the ``Vagrantfile``.
### Usage
- ``cd vagrant-dockerlab``
- Edit ``Vagrantfile`` to customize settings :```
...
# Provisioning script
config.vm.provision "shell", path: "provisioning.sh", env: {
"TIMEZONE" => "Europe/Paris" # Timezone to be used by the system
}
...
```This LAMP environment must be started using Vagrant.
- ``vagrant up``
```
...
default: Disbaling SELinux...
default: Configuring Timezone...
default: Cleaning dnf cache...
default: Updating the system...
default: Installing Docker CE...
default: Installing Lazydocker...
default: Configuring Docker CE...
default: Starting Docker CE...
default: Installing Docker Registry...
default:
default: Docker Lab is ready !
default: - Docker CE version : 27.0.3
default: - Docker Compose version : 2.28.1
default: - Lazydocker version : 0.23.3
default: - Hadolint version : 2.12.0
default: - Trivy version : 0.53.0
default:
default: Informations :
default: - Guest IP address : xxx.xxx.xxx.xxx
default: - Docker Registry UI URL : http://127.0.0.1:8080/
```And it must be destroy using Vagrant.
- ``vagrant destroy``
```
default: Are you sure you want to destroy the 'default' VM? [y/N] y
...
```