It’s my first time trying to selfhost things for myself, and among one of those services I want to host is Fireshare, but I just can’t make it work and I don’t know how to make it work.

First of all, I’m a complete noob and I barely have experience with Linux, I’m a complete ignorant on servers.

I honestly don’t understand how to install it in the first place, and I’ve already seen the Docker installation command.

docker run --name fireshare -v $(pwd)/fireshare:/data:rw -v $(pwd)/fireshare_processed:/processed:rw -v /path/to/my_game_clips:/videos:rw -p 8080:80 -e ADMIN_PASSWORD=your-admin-password -d shaneisrael/fireshare:latest

When I try to run that command and change the directory of the clips, and the administrator password the only thing I get is a Docker error saying:

docker: Error response from daemon: pull access denied for 8080, repository does not exist or may require ‘docker login’: denied: requested access to the resource is denied.

And besides, already host Owncast at port 8080, can’t I use another port?

  • justcallmelarry@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Change the -p 8080:80 part to something else, like -p 8090:80, then it’ll be running on port 8090 instead (or switch it for another port entirely!). The first number is which port you wish to bind on your machine, the second one is what port the container process is listening on (where 80 is very usual).

  • MangoPenguin@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Hm, it seems the command isn’t formatted correctly and is getting screwed up. I would suspect maybe the password needs to be enclosed in double quotes.

    You can just change 8080 to whatever you want for the port.

    • Xirup@lemmy.oneOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      I fixed it but now I had another strange problem, I used docker to install Owncast and made it use the port 9090 but it seems that Owncast want me to use 8080 to watch the web server, any idea how to fix this?

      (When I start Owncast it says that the web server is on 8080)

      • MangoPenguin@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Does it work though?

        Owncast has no idea what port docker is using for NAT on the outside, so it will always think it’s running on port 8080 internally, and docker translates whatever port you want into that internal port.