this post was submitted on 29 Dec 2023
11 points (92.3% liked)

Linux Questions

1010 readers
37 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 1 year ago
MODERATORS
 

I'm very new to Linux but have wanted to set up a media server since the early 2000's so I've finally set up a mini-pc with Mint and I was roughly following this guide that I'd found on Lemmy Complete Guide to Building.... I've had very little luck with the instructions provided in the link but like most of the suggested packages and have successfully gotten OpenSSH, Jellyfin, Docker and Docker Composer installed and working as far as I know. The newest problem that I'm having trouble finding an answer to is while following the instructions on hub.docker.com.

I have pulled the Docker image but when I go to create and run the container I get a message docker: invalid reference format.

I believe I have everything entered exactly as I'm supposed to:

$ sudo docker run --name adguardhome --restart unless-stopped\

-v /home/justin/server/adguard/workdir:/opt/adguardhome/work
-v /home/justin/server/adguard/confdir:/opt/adguardhome/conf
-p 53:53/tcp -p 53:53/udp
-p 67:67/udp -p 68:68/udp
-p 80:80/tcp -p 443:443/tcp -p 443:443/udp -p 3000:3000/tcp
-p 853:853/tcp
-p 784:784/udp -p 853:853/udp -p 8853:8853/udp
-p 5443:5443/tcp -p 5443:5443/udp
-d adguard/adguardhome

Does anyone have any advice for me?

you are viewing a single comment's thread
view the rest of the comments
[–] sturlabragason 0 points 8 months ago

Probably have some weird invisible characters:

https://stackoverflow.com/questions/45682010/docker-invalid-reference-format

Also try googling stuff, literally the first result.