8
submitted 2 months ago by k2helix@lemmy.world to c/docker@programming.dev

I have a docker compose file with a bind volume. It basically mounts /media/user/drive/media to the container's /mnt.

It works as expected when /media/user/drive/ is mounted and its media folder has the files I want the container to see.

However, as it's a network drive, the container usually tries to start before it is mounted, so it would throw the error that /media/user/drive/media doesn't exist. So I created an empty folder in /media/user/drive called media while the drive was not mounted so that at least the container starts with the volume /mnt being empty until the network drive gets mounted and all the files appear at /media/user/drive/media.

To my surprise, when the drive gets mounted, even though if I do ls /media/user/drive/media it lists the drive contents correctly, the container still sees /mnt empty.

How would I go about getting the drive files inside the docker container when it automatically starts?

[-] k2helix@lemmy.world 5 points 2 months ago* (last edited 2 months ago)

Not that you should return to Twitch but if you ever need to there's this TTV LOL PRO add-on for Firefox/Chromium or you can just use a client such as Streamlink (with GUI and ttv lol support) for desktop or Xtra/Twire for Android with a custom proxy

12
submitted 3 months ago by k2helix@lemmy.world to c/english@lemmy.ca

I'll be sitting a CAE exam this Friday and I'd enjoy learning some vocabulary I can use when doing it.

Some idiomatic expressions, collocations or just some fancy adjectives or adverbs that you think could be useful. Something that if the examiner saw would make them say wow.

There is an speaking part where it's mostly informal language that I'm going to use and a more formal writing part.

Thanks for your help.

[-] k2helix@lemmy.world 4 points 3 months ago

Now I want to hear about The Lord of the Rings lore

36
submitted 3 months ago by k2helix@lemmy.world to c/linux@lemmy.ml

I have Fedora and Windows installed in the same drive in my laptop. The drive has 512GB and it's divided so that each OS has 256GB. Fedora's partition is encrypted using the option it shows in its installer.

Problem is I'm running out of space. I'm considering getting a 1TB drive on which I would move Fedora and then giving Windows the other drive, so on the whole the laptop would run Windows on the 512GB drive and Fedora on the 1TB one. I've already read lots of forums but am still unsure on how to do this without losing any data and messing with Grub (I've had some bad experiences previously). So any help would be appreciated.

[-] k2helix@lemmy.world 3 points 7 months ago

I have never used an eSIM, but I'd like to know about them. Can anyone explain what are some reasons to use it?

[-] k2helix@lemmy.world 3 points 8 months ago

Your comment made me happy

[-] k2helix@lemmy.world 5 points 11 months ago

Aren't almost all (at least photo editing ones) new Pixel 8 & Pixel 8 Pro features in the cloud? What things do you mean when you say Google is moving to local processing?

[-] k2helix@lemmy.world 3 points 1 year ago

Thanks everyone for your comments and opinions. I ordered the Pixel 8.

14

I want to get a Pixel 8. Here it costs 800€, and only today because it is 11/11 a popular provider offers a 22% off, being 623 the end price. Do you know if they get a bigger discount on Black Friday or is this a very good offer? Thanks.

[-] k2helix@lemmy.world 2 points 1 year ago

You can install touchegg to customise touchpad gestures, I learnt it because I also needed it!

[-] k2helix@lemmy.world 2 points 1 year ago

Bad thing that I don't use Windows that much, wish it had a Linux version. However I'll check it out when I use Windows to see how it goes. Thanks!

[-] k2helix@lemmy.world 2 points 1 year ago

Oh I see! I didn't know Cromite had a desktop version! Thanks for sharing your thoughts :)

[-] k2helix@lemmy.world 2 points 1 year ago

What do you think would be the best ~not the simplest~ option?

[-] k2helix@lemmy.world 7 points 1 year ago

The prices are really high, I hope it gets better when Black Friday arrives. Else I guess I'll have to get the 7.

[-] k2helix@lemmy.world 2 points 1 year ago

why? (not from the US)

view more: next ›

k2helix

joined 1 year ago