Giter Club home page Giter Club logo

Comments (3)

mbentley avatar mbentley commented on August 30, 2024

Sure, see https://docs.docker.com/compose/compose-file/#domainname-hostname-ipc-mac_address-privileged-read_only-shm_size-stdin_open-tty-user-working_dir. You need to tell Docker what hostname you want it to set.

from docker-timemachine.

tc60045 avatar tc60045 commented on August 30, 2024

Yep, that will do it. Thanks, Matt!

For future reference, fellow users: if you follow Matt's instructions in creating a macvlan, you may want to add "hostname: _________" to the TimeMachine service in docker-compose, so that the name that appears on your network is something recognizable and not a random, 16 character hexadecimal string. Standard DNS rules apply for naming and thus Mac users, you cannot put a space in the hostname ("foo bar" will come through as foobar). Dashes work. Enjoy.

from docker-timemachine.

balk77 avatar balk77 commented on August 30, 2024

Thanks for clarifying! When not using docker-compose you can add --hostname Timemachine to the docker run command.

docker run -d --restart=always \
  --name timemachine \
  --network mynet \
  --ip 192.168.0.200 \
  --hostname Timemachine \
  -e CUSTOM_SMB_CONF="false" \
  -e CUSTOM_USER="false" \
etc

where mynet is my macvlan network

from docker-timemachine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.