Futanada

Members
  • Posts

    2
  • Joined

  • Last visited

Futanada's Achievements

Noob

Noob (1/14)

1

Reputation

  1. Hi binhex, I am very new to Docker, and I am not sure if my question is applicable here. I can access code-server with IP address, but I want to run the code-server with a local domain name, for example, code.local. I did some research online that some answers suggest to set the container's network type as br0 and assign a local IP address, in /etc/hosts add 127.0.0.1 code.local line in docker compose yaml file add a port mapping 80:80 and in a DNS server map the IP address with the domain name. In my case, I modified the /etc/hosts file (but it won't retain the change after restart the container), added an IP - domain name mapping in Pi-Hole I set the code-server as I actually changed both internal and external port to 80, but it doesn't seems like having any effect. I still see 8500:8500. No matter what host port I change, I can only access the code-server through port 8500. And I also couldn't find the docker-compose.yml file. I only found a config.yml and it doesn't look any similar to the docker-compose.yml Could you possibly direct me the correct way to set up a local domain name for the code-server, or at least change the port mapping? Thank you so much for the help and I apologize if this is out of this forum's scope, I will delete it.
  2. In my case, syslog showed disk2 and disk3 are busy. And it's because I have SSH tunnel opened and cd'ed to disk2 and disk3. Once I terminated the SSH, the arrays can be stopped immediately.