▲ 1532 ▼ Hacking in 1980 vs Hacking in 2024 (lemmy.world) submitted 2 years ago by phiresky@lemmy.world to c/programmerhumor@lemmy.ml 113 comments fedilink hide all child comments
[–] nomecks@lemmy.world 113 points 2 years ago (16 children) There's no root login. It's all containers. permalink fedilink source parent hideshow 16 child comments replies: [–] SpaceNoodle@lemmy.world 52 points 2 years ago (3 children) It's containers all the way down! permalink fedilink source parent hideshow 3 child comments replies: [–] RealFknNito@lemmy.world 32 points 2 years ago (2 children) All the way down. permalink fedilink source parent hideshow 2 child comments replies: [–] magic_lobster_party@kbin.social 14 points 2 years ago (1 child) I deploy my docker containers in .mkv files. permalink fedilink source parent hideshow 1 child comment replies: [+] RealFknNito@lemmy.world 1 point 2 years ago [deleted] permalink fedilink source parent [–] residentmarchant@lemmy.world 12 points 2 years ago (8 children) The containers still run an OS, have proprietary application code on them, and have memory that probably contains other user's data in it. Not saying it's likely, but containers don't really fix much in the way of gaining privileged access to steal information. permalink fedilink source parent hideshow 8 child comments replies: [–] towerful@programming.dev 19 points 2 years ago (4 children) That's why it's containers... in containers It's like wearing 2 helmets. If 1 helmet is good, imagine the protection of 2 helmets! permalink fedilink source parent hideshow 4 child comments replies: [–] PochoHipster@lemmy.ml 9 points 2 years ago (1 child) So is running it on actual hardware basically rawdoggin? permalink fedilink source parent hideshow 1 child comment replies: [–] lemann@lemmy.one 6 points 2 years ago Wow what an analogy lol permalink fedilink source parent [–] bobs_monkey@lemm.ee 6 points 2 years ago (1 child) What if those helmets are watermelon helmets permalink fedilink source parent hideshow 1 child comment replies: [+] Dyskolos@lemmy.zip 2 points 2 years ago [deleted] permalink fedilink source parent [–] dan@upvote.au 5 points 2 years ago (2 children) The OS in a container is usually pretty barebones though. Great containers usually use distroless base images. https://github.com/GoogleContainerTools/distroless permalink fedilink source parent hideshow 2 child comments replies: [–] Cysioland@lemmygrad.ml 3 points 2 years ago (1 child) Ah, so there is something even more barebones than Alpine permalink fedilink source parent hideshow 1 child comment replies: [–] FrederikNJS@lemm.ee 2 points 2 years ago* Sure, there's also the scratch image, which is entirely empty... So if your app is just a single statically linked binary, your entire container contents can be a single binary. The busybox image is also more barebones than alpine, but still has a couple of basic tools. permalink fedilink source parent [–] Venat0r@lemmy.world 9 points 2 years ago (2 children) The containers will have a root login, but the ssh port won't be open. permalink fedilink source parent hideshow 2 child comments replies: [–] UNWILLING_PARTICIPANT@sh.itjust.works 4 points 2 years ago I doubt they even have a root user. Just whatever system packagea are required baked into the image permalink fedilink source parent [–] FrederikNJS@lemm.ee 3 points 2 years ago Containers can be entirely without anything. Some containers only contain the binary that gets executed. But many containers do contain pretty much a full distribution, but I have yet to see a container with a password hash in its /etc/shadow file... So while the container has a root account, it doesn't have any login at all, no password, no ssh key, nothing. permalink fedilink source parent
[–] SpaceNoodle@lemmy.world 52 points 2 years ago (3 children) It's containers all the way down! permalink fedilink source parent hideshow 3 child comments replies: [–] RealFknNito@lemmy.world 32 points 2 years ago (2 children) All the way down. permalink fedilink source parent hideshow 2 child comments replies: [–] magic_lobster_party@kbin.social 14 points 2 years ago (1 child) I deploy my docker containers in .mkv files. permalink fedilink source parent hideshow 1 child comment replies: [+] RealFknNito@lemmy.world 1 point 2 years ago [deleted] permalink fedilink source parent
[–] RealFknNito@lemmy.world 32 points 2 years ago (2 children) All the way down. permalink fedilink source parent hideshow 2 child comments replies: [–] magic_lobster_party@kbin.social 14 points 2 years ago (1 child) I deploy my docker containers in .mkv files. permalink fedilink source parent hideshow 1 child comment replies: [+] RealFknNito@lemmy.world 1 point 2 years ago [deleted] permalink fedilink source parent
[–] magic_lobster_party@kbin.social 14 points 2 years ago (1 child) I deploy my docker containers in .mkv files. permalink fedilink source parent hideshow 1 child comment replies: [+] RealFknNito@lemmy.world 1 point 2 years ago [deleted] permalink fedilink source parent
[–] residentmarchant@lemmy.world 12 points 2 years ago (8 children) The containers still run an OS, have proprietary application code on them, and have memory that probably contains other user's data in it. Not saying it's likely, but containers don't really fix much in the way of gaining privileged access to steal information. permalink fedilink source parent hideshow 8 child comments replies: [–] towerful@programming.dev 19 points 2 years ago (4 children) That's why it's containers... in containers It's like wearing 2 helmets. If 1 helmet is good, imagine the protection of 2 helmets! permalink fedilink source parent hideshow 4 child comments replies: [–] PochoHipster@lemmy.ml 9 points 2 years ago (1 child) So is running it on actual hardware basically rawdoggin? permalink fedilink source parent hideshow 1 child comment replies: [–] lemann@lemmy.one 6 points 2 years ago Wow what an analogy lol permalink fedilink source parent [–] bobs_monkey@lemm.ee 6 points 2 years ago (1 child) What if those helmets are watermelon helmets permalink fedilink source parent hideshow 1 child comment replies: [+] Dyskolos@lemmy.zip 2 points 2 years ago [deleted] permalink fedilink source parent [–] dan@upvote.au 5 points 2 years ago (2 children) The OS in a container is usually pretty barebones though. Great containers usually use distroless base images. https://github.com/GoogleContainerTools/distroless permalink fedilink source parent hideshow 2 child comments replies: [–] Cysioland@lemmygrad.ml 3 points 2 years ago (1 child) Ah, so there is something even more barebones than Alpine permalink fedilink source parent hideshow 1 child comment replies: [–] FrederikNJS@lemm.ee 2 points 2 years ago* Sure, there's also the scratch image, which is entirely empty... So if your app is just a single statically linked binary, your entire container contents can be a single binary. The busybox image is also more barebones than alpine, but still has a couple of basic tools. permalink fedilink source parent
[–] towerful@programming.dev 19 points 2 years ago (4 children) That's why it's containers... in containers It's like wearing 2 helmets. If 1 helmet is good, imagine the protection of 2 helmets! permalink fedilink source parent hideshow 4 child comments replies: [–] PochoHipster@lemmy.ml 9 points 2 years ago (1 child) So is running it on actual hardware basically rawdoggin? permalink fedilink source parent hideshow 1 child comment replies: [–] lemann@lemmy.one 6 points 2 years ago Wow what an analogy lol permalink fedilink source parent [–] bobs_monkey@lemm.ee 6 points 2 years ago (1 child) What if those helmets are watermelon helmets permalink fedilink source parent hideshow 1 child comment replies: [+] Dyskolos@lemmy.zip 2 points 2 years ago [deleted] permalink fedilink source parent
[–] PochoHipster@lemmy.ml 9 points 2 years ago (1 child) So is running it on actual hardware basically rawdoggin? permalink fedilink source parent hideshow 1 child comment replies: [–] lemann@lemmy.one 6 points 2 years ago Wow what an analogy lol permalink fedilink source parent
[–] bobs_monkey@lemm.ee 6 points 2 years ago (1 child) What if those helmets are watermelon helmets permalink fedilink source parent hideshow 1 child comment replies: [+] Dyskolos@lemmy.zip 2 points 2 years ago [deleted] permalink fedilink source parent
[–] dan@upvote.au 5 points 2 years ago (2 children) The OS in a container is usually pretty barebones though. Great containers usually use distroless base images. https://github.com/GoogleContainerTools/distroless permalink fedilink source parent hideshow 2 child comments replies: [–] Cysioland@lemmygrad.ml 3 points 2 years ago (1 child) Ah, so there is something even more barebones than Alpine permalink fedilink source parent hideshow 1 child comment replies: [–] FrederikNJS@lemm.ee 2 points 2 years ago* Sure, there's also the scratch image, which is entirely empty... So if your app is just a single statically linked binary, your entire container contents can be a single binary. The busybox image is also more barebones than alpine, but still has a couple of basic tools. permalink fedilink source parent
[–] Cysioland@lemmygrad.ml 3 points 2 years ago (1 child) Ah, so there is something even more barebones than Alpine permalink fedilink source parent hideshow 1 child comment replies: [–] FrederikNJS@lemm.ee 2 points 2 years ago* Sure, there's also the scratch image, which is entirely empty... So if your app is just a single statically linked binary, your entire container contents can be a single binary. The busybox image is also more barebones than alpine, but still has a couple of basic tools. permalink fedilink source parent
[–] FrederikNJS@lemm.ee 2 points 2 years ago* Sure, there's also the scratch image, which is entirely empty... So if your app is just a single statically linked binary, your entire container contents can be a single binary. The busybox image is also more barebones than alpine, but still has a couple of basic tools. permalink fedilink source parent
[–] Venat0r@lemmy.world 9 points 2 years ago (2 children) The containers will have a root login, but the ssh port won't be open. permalink fedilink source parent hideshow 2 child comments replies: [–] UNWILLING_PARTICIPANT@sh.itjust.works 4 points 2 years ago I doubt they even have a root user. Just whatever system packagea are required baked into the image permalink fedilink source parent [–] FrederikNJS@lemm.ee 3 points 2 years ago Containers can be entirely without anything. Some containers only contain the binary that gets executed. But many containers do contain pretty much a full distribution, but I have yet to see a container with a password hash in its /etc/shadow file... So while the container has a root account, it doesn't have any login at all, no password, no ssh key, nothing. permalink fedilink source parent
[–] UNWILLING_PARTICIPANT@sh.itjust.works 4 points 2 years ago I doubt they even have a root user. Just whatever system packagea are required baked into the image permalink fedilink source parent
[–] FrederikNJS@lemm.ee 3 points 2 years ago Containers can be entirely without anything. Some containers only contain the binary that gets executed. But many containers do contain pretty much a full distribution, but I have yet to see a container with a password hash in its /etc/shadow file... So while the container has a root account, it doesn't have any login at all, no password, no ssh key, nothing. permalink fedilink source parent