I’m just this guy, you know?

  • 5 Posts
  • 71 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle

  • You’ve pretty much answered it yourself in the example you gave: you can mount the host’s relative path ./ to an absolute path /data in the compose file, and the container will mount the $CWD at launch as /data.

    I think most bind mounts are default read-only, which is why your write is failing. Try adding ,rw to the end of the list entry in volumes and see if that helps.

    edit: another poster got it with working_dir which also is more right

    Using relative paths is bad practice, by the way. It’s fine for development and testing, but in production you would want always to use absolute paths. Think of it as a bad habit that leaves surprises for yourself and othere down the road when moving or replicating projects. If you want it to be more dynamic, consider using compose vars and environment variables

    Another thing you might want to consider is not mounting the project root as a RW filesystem in your containers, since this allows the container to modify its own compose file. That’s rarely something you’d want to do. Better to make a subdirectory for each container in the project folder, and mount those into the appropriate contains




  • Not at all. Bernie isn’t a Democrat, but he caucuses (allies in chambers) with them. He has the latitude to float trial policy balloons and gague how the electorate responds before the party commits to a position. Bernie is a perfect stalking horse for the Dems because he can say the “radical” stuff out loud without scaring off the Wall Street donors.

    Am I saying he’s a cat’s paw for the DNC? No! Not by a long shot. He’s progressive though, and is a great pathfinder for new ideas that resonate with a nebulous and fickle bloc of voters. In these times, his constituency are solely needed at the polls.

    Yes, it’s mercenary. These are Interesting Times.



  • What your situation for data backup? You mentioned a homelab and a NAS, are you running regular backups to an off-box store? You could mate it with a few TB of inexpensive USB disk, maybe some software RAID, and use it for off-box backups. Doesn’t have to be fast, just reliable.

    Specs like that, you have some options. Virtual assistant, IPCam NVR like MotionEye or Frigate, media server for your car (takes DC voltage, right?), weather base station, ADS-B feeder, smart mirrors.

    Or (if you’re in the US) you could repair it and then, if you donate it to a suitable charity, you could take the the cost of the repair as a deduction on your taxes. Probably doesn’t help you that much, but it could maybe really help someone else who needs it.

    Or, just wipe it and send it to e-waste.