Docker on your FLX1

Docker on your FLX1

It's with great joy that we can show you this new feature of the FuriPhone FLX1. Docker and docker-compose work with ease since 13.0.7.

I used wf-recorder to make this screen recording and shotcut to overlay it onto the FLX1 stock image which is why there is no curved screen or camera hole.

Install Docker

Docker is installed

Dashy is Loading

FLX1 Dashy HomeLab

Nginx Works also

Install Docker

Install Docker

Docker is installed

Docker is installed

Dashy is Loading

Dashy is Loading

FLX1 Dashy HomeLab

FLX1 Dashy HomeLab

Nginx Works also

Nginx Works also

First let's get it installed for you!

sudo apt install docker.io docker-cli docker-compose

sudo usermod -aG docker $USER
sudo ln -s /usr/libexec/docker/cli-plugins/docker-compose /usr/bin/docker-compose

You can now run standard docker commands from the console as the standard furios user.

Below is the code to run Dashy: The Ultimate Homepage for your HomeLab for the video tutorial.

Add the following 2 files to /home/furios/code/dashy/

conf.yml

pageInfo:
  title: FuriPhone FLX1
sections: # An array of sections
- name: FuriLabs
  icon: far fa-rocket
  items:
  - title: FuriLabs Website
    description: FuriLabs Website
    icon: fab fa-github
    url: https://furilabs.com
  - title: GitHub
    description: FuriLabs source code
    icon: fab fa-github
    url: https://github.com/FuriLabs
  - title: Issue Tracker
    description: View open issues, or raise a new one
    icon: fas fa-bug
    url: https://github.com/FuriLabs/issue-tracker/issues
- name: Socials
  items:
  - title: YouTube
    description: FuriLabs YouTube channel
    icon: fab fa-youtube
    url: https://www.youtube.com/@FuriLabs
  - title: Fosstodon
    description: Fosstodon
    icon: fas fa-twitter
    url: https://fosstodon.org/@furilabs
  - title: Twitter
    description: FuriLabs Twitter
    icon: fab fa-twitter
    url: https://twitter.com/FuriLabs
  - title: Bluesky
    description: FuriLabs Bluesky
    icon: fab fa-twitter
    url: https://bsky.app/profile/furilabs.bsky.social

docker-compose.yml

---
version: "3.8"
services:
  dashy:
    image: lissy93/dashy
    container_name: dashy
    volumes:
      - /home/furios/code/dashy/conf.yml:/app/user-data/conf.yml
    ports:
      - 8080:8080
    # Set any environmental variables
    environment:
      - NODE_ENV=production
    # Specify your user ID and group ID. You can find this by running `id -u` and `id -g`
    #  - UID=0
    #  - GID=0
    # Specify restart policy
    restart: unless-stopped
    # Configure healthchecks
    healthcheck:
      test: ['CMD', 'node', '/app/services/healthcheck']
      interval: 1m30s
      timeout: 10s
      retries: 3
      start_period: 40s

You can now run docker-compose up -d from the same directory to start the stack.

You can also use the run command to start single containers like Nginx.

docker run -it --rm -d -p 8888:80 --name web nginx

That's it! The world of docker is absolutely massive and there are tons of containers and stacks (multiple linked containers) on Docker Hub. Tell us what you can do in the comments below!