Step 1: First, let's make sure that Docker is installed on your Fedora CoreOS. Run the following command to check the Docker version:
docker -v
If it's not installed, install Docker using the following command:
sudo rpm-ostree install docker
Step 2: Run the following command to download the reveal.js Docker image:
sudo docker pull jcderr/revealjs
Step 3: Create a directory for your presentation files. The following command will create a directory named "my-presentation":
sudo mkdir /var/reveal
Step 4: Copy your presentation files into the "my-presentation" directory. For example, if your presentation file is named "presentation.html", use the following command:
sudo cp presentation.html /var/reveal
Step 5: Start the reveal.js Docker container using the following command:
sudo docker run -p 8000:8000 -v /var/reveal:/revealjs/presentation jcderr/revealjs
The "-p 8000:8000" option maps your host's port 8000 to the Docker container's port 8000. You can change this to any other port that's available on your host.
The "-v /var/reveal:/revealjs/presentation" option mounts your "my-presentation" directory to the "/revealjs/presentation" directory inside the Docker container.
Step 6: Open a web browser and enter the following URL:
http://localhost:8000/presentation.html
This will display your presentation in the browser.
Congratulations, you have now installed reveal.js on Fedora CoreOS and have created and presented a slideshow!
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!