mirror of https://github.com/zulip/zulip.git
vagrant: Add Fedora 36 support.
- Add documentation for the vagrant setup on Fedora. - Fix the container setup by adding the `z` option to the bind mounts so that the selinux context allows sharing. This is according to the official docker documentation: https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label https://www.vagrantup.com/docs/providers/docker/basics (section "Volume Consistency")
This commit is contained in:
parent
8a80443b73
commit
8723931236
|
@ -18,7 +18,7 @@ Vagrant.configure("2") do |config|
|
|||
config.vm.box = "bento/ubuntu-20.04"
|
||||
|
||||
config.vm.synced_folder ".", "/vagrant", disabled: true
|
||||
config.vm.synced_folder ".", "/srv/zulip"
|
||||
config.vm.synced_folder ".", "/srv/zulip", docker_consistency: "z"
|
||||
|
||||
vagrant_config_file = ENV["HOME"] + "/.zulip-vagrant-config"
|
||||
if File.file?(vagrant_config_file)
|
||||
|
|
|
@ -51,13 +51,13 @@ a proxy to access the internet.)
|
|||
- **macOS**: macOS (10.11 El Capitan or newer recommended)
|
||||
- **Ubuntu LTS**: 20.04 or 22.04
|
||||
- **Debian**: 11
|
||||
- **Fedora**: tested for 36
|
||||
- **Windows**: Windows 64-bit (Win 10 recommended), hardware
|
||||
virtualization enabled (VT-x or AMD-V), administrator access.
|
||||
|
||||
Other Linux distributions work great too, but we don't maintain
|
||||
documentation for installing Vagrant and Docker on those systems, so
|
||||
you'll need to find a separate guide and crib from the Debian/Ubuntu
|
||||
docs.
|
||||
you'll need to find a separate guide and crib from these docs.
|
||||
|
||||
### Step 0: Set up Git & GitHub
|
||||
|
||||
|
@ -77,6 +77,7 @@ Jump to:
|
|||
- [macOS](#macos)
|
||||
- [Ubuntu](#ubuntu)
|
||||
- [Debian](#debian)
|
||||
- [Fedora](#fedora)
|
||||
- [Windows](#windows-10)
|
||||
|
||||
#### macOS
|
||||
|
@ -145,6 +146,16 @@ Now you are ready for [Step 2: Get Zulip code](#step-2-get-zulip-code).
|
|||
|
||||
The setup for Debian is the same as that [for Ubuntu above](#ubuntu).
|
||||
|
||||
#### Fedora
|
||||
|
||||
The setup for Fedora is mostly equivalent to the [setup for Ubuntu](#ubuntu).
|
||||
The only difference is the installation of Docker. Fedora does not include the
|
||||
official `docker-ce` package (named `docker.io` in the
|
||||
[setup for Ubuntu](#ubuntu)) in their repositories. They provide the package
|
||||
`moby-engine` which you can choose instead. In case you prefer the official
|
||||
docker distribution, you can follow
|
||||
[their documentation to install Docker on Fedora](https://docs.docker.com/engine/install/fedora/).
|
||||
|
||||
#### Windows 10
|
||||
|
||||
:::{note}
|
||||
|
|
Loading…
Reference in New Issue