| 1 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
| 2 |
DENIED
|
moderate
|
App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
} |
|
Show voter details
|
| 3 |
DENIED
|
edit
|
App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
} |
|
Show voter details
|
| 4 |
DENIED
|
moderate
|
App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
} |
|
Show voter details
|
| 5 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
| 6 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4029
+user: App\Entity\User {#3978 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
From a comment of yours;\n
\n
> Eh…just trying to learn some new things regarding common “dockerization”-related things, and improving its **security**.\n
\n
If the end-goal is not learning but having an as secure container as possible, then consider [Wolfi](https://github.com/wolfi-dev); [this](https://www.chainguard.dev/unchained/introducing-wolfi-the-first-linux-un-distro) is a good read. If you’re interested to know its current vulnerabilities, so that you can work on resolving those; then consider [Trivy](https://github.com/aquasecurity/trivy) as it is -to my knowledge- the industry-standard for this specific use-case.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1699532435 {#4038
date: 2023-11-09 13:20:35.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4027 …}
+nested: Doctrine\ORM\PersistentCollection {#4025 …}
+votes: Doctrine\ORM\PersistentCollection {#4023 …}
+reports: Doctrine\ORM\PersistentCollection {#4021 …}
+favourites: Doctrine\ORM\PersistentCollection {#3989 …}
+notifications: Doctrine\ORM\PersistentCollection {#3993 …}
-id: 102341
-bodyTs: "'/aquasecurity/trivy)':75 '/unchained/introducing-wolfi-the-first-linux-un-distro)':48 '/wolfi-dev);':44 'case':91 'comment':3 'common':15 'consid':40,71 'contain':36 'current':60 'docker':16 'eh':6 'end':26 'end-goal':25 'github.com':43,74 'github.com/aquasecurity/trivy)':73 'github.com/wolfi-dev);':42 'goal':27 'good':51 'improv':20 'industri':84 'industry-standard':83 'interest':56 'know':58 'knowledg':81 'learn':10,30 'new':12 'possibl':38 're':55 'read':52 'regard':14 'relat':17 'resolv':68 'secur':22,35 'specif':88 'standard':85 'thing':13,18 'tri':8 'trivi':72 'use':90 'use-cas':89 'vulner':61 'wolfi':41 'work':66 'www.chainguard.dev':47 'www.chainguard.dev/unchained/introducing-wolfi-the-first-linux-un-distro)':46"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/5621343"
+editedAt: null
+createdAt: DateTimeImmutable @1699468864 {#3970
date: 2023-11-08 19:41:04.0 +01:00
}
} |
|
Show voter details
|
| 7 |
DENIED
|
edit
|
App\Entity\EntryComment {#4029
+user: App\Entity\User {#3978 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
From a comment of yours;\n
\n
> Eh…just trying to learn some new things regarding common “dockerization”-related things, and improving its **security**.\n
\n
If the end-goal is not learning but having an as secure container as possible, then consider [Wolfi](https://github.com/wolfi-dev); [this](https://www.chainguard.dev/unchained/introducing-wolfi-the-first-linux-un-distro) is a good read. If you’re interested to know its current vulnerabilities, so that you can work on resolving those; then consider [Trivy](https://github.com/aquasecurity/trivy) as it is -to my knowledge- the industry-standard for this specific use-case.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1699532435 {#4038
date: 2023-11-09 13:20:35.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4027 …}
+nested: Doctrine\ORM\PersistentCollection {#4025 …}
+votes: Doctrine\ORM\PersistentCollection {#4023 …}
+reports: Doctrine\ORM\PersistentCollection {#4021 …}
+favourites: Doctrine\ORM\PersistentCollection {#3989 …}
+notifications: Doctrine\ORM\PersistentCollection {#3993 …}
-id: 102341
-bodyTs: "'/aquasecurity/trivy)':75 '/unchained/introducing-wolfi-the-first-linux-un-distro)':48 '/wolfi-dev);':44 'case':91 'comment':3 'common':15 'consid':40,71 'contain':36 'current':60 'docker':16 'eh':6 'end':26 'end-goal':25 'github.com':43,74 'github.com/aquasecurity/trivy)':73 'github.com/wolfi-dev);':42 'goal':27 'good':51 'improv':20 'industri':84 'industry-standard':83 'interest':56 'know':58 'knowledg':81 'learn':10,30 'new':12 'possibl':38 're':55 'read':52 'regard':14 'relat':17 'resolv':68 'secur':22,35 'specif':88 'standard':85 'thing':13,18 'tri':8 'trivi':72 'use':90 'use-cas':89 'vulner':61 'wolfi':41 'work':66 'www.chainguard.dev':47 'www.chainguard.dev/unchained/introducing-wolfi-the-first-linux-un-distro)':46"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/5621343"
+editedAt: null
+createdAt: DateTimeImmutable @1699468864 {#3970
date: 2023-11-08 19:41:04.0 +01:00
}
} |
|
Show voter details
|
| 8 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4029
+user: App\Entity\User {#3978 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
From a comment of yours;\n
\n
> Eh…just trying to learn some new things regarding common “dockerization”-related things, and improving its **security**.\n
\n
If the end-goal is not learning but having an as secure container as possible, then consider [Wolfi](https://github.com/wolfi-dev); [this](https://www.chainguard.dev/unchained/introducing-wolfi-the-first-linux-un-distro) is a good read. If you’re interested to know its current vulnerabilities, so that you can work on resolving those; then consider [Trivy](https://github.com/aquasecurity/trivy) as it is -to my knowledge- the industry-standard for this specific use-case.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1699532435 {#4038
date: 2023-11-09 13:20:35.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4027 …}
+nested: Doctrine\ORM\PersistentCollection {#4025 …}
+votes: Doctrine\ORM\PersistentCollection {#4023 …}
+reports: Doctrine\ORM\PersistentCollection {#4021 …}
+favourites: Doctrine\ORM\PersistentCollection {#3989 …}
+notifications: Doctrine\ORM\PersistentCollection {#3993 …}
-id: 102341
-bodyTs: "'/aquasecurity/trivy)':75 '/unchained/introducing-wolfi-the-first-linux-un-distro)':48 '/wolfi-dev);':44 'case':91 'comment':3 'common':15 'consid':40,71 'contain':36 'current':60 'docker':16 'eh':6 'end':26 'end-goal':25 'github.com':43,74 'github.com/aquasecurity/trivy)':73 'github.com/wolfi-dev);':42 'goal':27 'good':51 'improv':20 'industri':84 'industry-standard':83 'interest':56 'know':58 'knowledg':81 'learn':10,30 'new':12 'possibl':38 're':55 'read':52 'regard':14 'relat':17 'resolv':68 'secur':22,35 'specif':88 'standard':85 'thing':13,18 'tri':8 'trivi':72 'use':90 'use-cas':89 'vulner':61 'wolfi':41 'work':66 'www.chainguard.dev':47 'www.chainguard.dev/unchained/introducing-wolfi-the-first-linux-un-distro)':46"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/5621343"
+editedAt: null
+createdAt: DateTimeImmutable @1699468864 {#3970
date: 2023-11-08 19:41:04.0 +01:00
}
} |
|
Show voter details
|
| 9 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
| 10 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4241
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4029
+user: App\Entity\User {#3978 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
From a comment of yours;\n
\n
> Eh…just trying to learn some new things regarding common “dockerization”-related things, and improving its **security**.\n
\n
If the end-goal is not learning but having an as secure container as possible, then consider [Wolfi](https://github.com/wolfi-dev); [this](https://www.chainguard.dev/unchained/introducing-wolfi-the-first-linux-un-distro) is a good read. If you’re interested to know its current vulnerabilities, so that you can work on resolving those; then consider [Trivy](https://github.com/aquasecurity/trivy) as it is -to my knowledge- the industry-standard for this specific use-case.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1699532435 {#4038
date: 2023-11-09 13:20:35.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4027 …}
+nested: Doctrine\ORM\PersistentCollection {#4025 …}
+votes: Doctrine\ORM\PersistentCollection {#4023 …}
+reports: Doctrine\ORM\PersistentCollection {#4021 …}
+favourites: Doctrine\ORM\PersistentCollection {#3989 …}
+notifications: Doctrine\ORM\PersistentCollection {#3993 …}
-id: 102341
-bodyTs: "'/aquasecurity/trivy)':75 '/unchained/introducing-wolfi-the-first-linux-un-distro)':48 '/wolfi-dev);':44 'case':91 'comment':3 'common':15 'consid':40,71 'contain':36 'current':60 'docker':16 'eh':6 'end':26 'end-goal':25 'github.com':43,74 'github.com/aquasecurity/trivy)':73 'github.com/wolfi-dev);':42 'goal':27 'good':51 'improv':20 'industri':84 'industry-standard':83 'interest':56 'know':58 'knowledg':81 'learn':10,30 'new':12 'possibl':38 're':55 'read':52 'regard':14 'relat':17 'resolv':68 'secur':22,35 'specif':88 'standard':85 'thing':13,18 'tri':8 'trivi':72 'use':90 'use-cas':89 'vulner':61 'wolfi':41 'work':66 'www.chainguard.dev':47 'www.chainguard.dev/unchained/introducing-wolfi-the-first-linux-un-distro)':46"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/5621343"
+editedAt: null
+createdAt: DateTimeImmutable @1699468864 {#3970
date: 2023-11-08 19:41:04.0 +01:00
}
}
+root: App\Entity\EntryComment {#4029}
+body: """
> If the end-goal is not learning but having an as secure container as possible\n
\n
It’s actually both – there is always something new to learn, after all. And thanks for these tips, I’ll read em right now.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1699469263 {#4239
date: 2023-11-08 19:47:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@alt@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4242 …}
+nested: Doctrine\ORM\PersistentCollection {#4244 …}
+votes: Doctrine\ORM\PersistentCollection {#4246 …}
+reports: Doctrine\ORM\PersistentCollection {#4248 …}
+favourites: Doctrine\ORM\PersistentCollection {#4250 …}
+notifications: Doctrine\ORM\PersistentCollection {#4252 …}
-id: 102358
-bodyTs: "'actual':19 'alway':23 'contain':14 'em':38 'end':4 'end-goal':3 'goal':5 'learn':8,27 'll':36 'new':25 'possibl':16 'read':37 'right':39 'secur':13 'someth':24 'thank':31 'tip':34"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5162400"
+editedAt: null
+createdAt: DateTimeImmutable @1699469263 {#4240
date: 2023-11-08 19:47:43.0 +01:00
}
} |
|
Show voter details
|
| 11 |
DENIED
|
edit
|
App\Entity\EntryComment {#4241
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4029
+user: App\Entity\User {#3978 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
From a comment of yours;\n
\n
> Eh…just trying to learn some new things regarding common “dockerization”-related things, and improving its **security**.\n
\n
If the end-goal is not learning but having an as secure container as possible, then consider [Wolfi](https://github.com/wolfi-dev); [this](https://www.chainguard.dev/unchained/introducing-wolfi-the-first-linux-un-distro) is a good read. If you’re interested to know its current vulnerabilities, so that you can work on resolving those; then consider [Trivy](https://github.com/aquasecurity/trivy) as it is -to my knowledge- the industry-standard for this specific use-case.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1699532435 {#4038
date: 2023-11-09 13:20:35.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4027 …}
+nested: Doctrine\ORM\PersistentCollection {#4025 …}
+votes: Doctrine\ORM\PersistentCollection {#4023 …}
+reports: Doctrine\ORM\PersistentCollection {#4021 …}
+favourites: Doctrine\ORM\PersistentCollection {#3989 …}
+notifications: Doctrine\ORM\PersistentCollection {#3993 …}
-id: 102341
-bodyTs: "'/aquasecurity/trivy)':75 '/unchained/introducing-wolfi-the-first-linux-un-distro)':48 '/wolfi-dev);':44 'case':91 'comment':3 'common':15 'consid':40,71 'contain':36 'current':60 'docker':16 'eh':6 'end':26 'end-goal':25 'github.com':43,74 'github.com/aquasecurity/trivy)':73 'github.com/wolfi-dev);':42 'goal':27 'good':51 'improv':20 'industri':84 'industry-standard':83 'interest':56 'know':58 'knowledg':81 'learn':10,30 'new':12 'possibl':38 're':55 'read':52 'regard':14 'relat':17 'resolv':68 'secur':22,35 'specif':88 'standard':85 'thing':13,18 'tri':8 'trivi':72 'use':90 'use-cas':89 'vulner':61 'wolfi':41 'work':66 'www.chainguard.dev':47 'www.chainguard.dev/unchained/introducing-wolfi-the-first-linux-un-distro)':46"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/5621343"
+editedAt: null
+createdAt: DateTimeImmutable @1699468864 {#3970
date: 2023-11-08 19:41:04.0 +01:00
}
}
+root: App\Entity\EntryComment {#4029}
+body: """
> If the end-goal is not learning but having an as secure container as possible\n
\n
It’s actually both – there is always something new to learn, after all. And thanks for these tips, I’ll read em right now.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1699469263 {#4239
date: 2023-11-08 19:47:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@alt@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4242 …}
+nested: Doctrine\ORM\PersistentCollection {#4244 …}
+votes: Doctrine\ORM\PersistentCollection {#4246 …}
+reports: Doctrine\ORM\PersistentCollection {#4248 …}
+favourites: Doctrine\ORM\PersistentCollection {#4250 …}
+notifications: Doctrine\ORM\PersistentCollection {#4252 …}
-id: 102358
-bodyTs: "'actual':19 'alway':23 'contain':14 'em':38 'end':4 'end-goal':3 'goal':5 'learn':8,27 'll':36 'new':25 'possibl':16 'read':37 'right':39 'secur':13 'someth':24 'thank':31 'tip':34"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5162400"
+editedAt: null
+createdAt: DateTimeImmutable @1699469263 {#4240
date: 2023-11-08 19:47:43.0 +01:00
}
} |
|
Show voter details
|
| 12 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4241
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4029
+user: App\Entity\User {#3978 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
From a comment of yours;\n
\n
> Eh…just trying to learn some new things regarding common “dockerization”-related things, and improving its **security**.\n
\n
If the end-goal is not learning but having an as secure container as possible, then consider [Wolfi](https://github.com/wolfi-dev); [this](https://www.chainguard.dev/unchained/introducing-wolfi-the-first-linux-un-distro) is a good read. If you’re interested to know its current vulnerabilities, so that you can work on resolving those; then consider [Trivy](https://github.com/aquasecurity/trivy) as it is -to my knowledge- the industry-standard for this specific use-case.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1699532435 {#4038
date: 2023-11-09 13:20:35.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4027 …}
+nested: Doctrine\ORM\PersistentCollection {#4025 …}
+votes: Doctrine\ORM\PersistentCollection {#4023 …}
+reports: Doctrine\ORM\PersistentCollection {#4021 …}
+favourites: Doctrine\ORM\PersistentCollection {#3989 …}
+notifications: Doctrine\ORM\PersistentCollection {#3993 …}
-id: 102341
-bodyTs: "'/aquasecurity/trivy)':75 '/unchained/introducing-wolfi-the-first-linux-un-distro)':48 '/wolfi-dev);':44 'case':91 'comment':3 'common':15 'consid':40,71 'contain':36 'current':60 'docker':16 'eh':6 'end':26 'end-goal':25 'github.com':43,74 'github.com/aquasecurity/trivy)':73 'github.com/wolfi-dev);':42 'goal':27 'good':51 'improv':20 'industri':84 'industry-standard':83 'interest':56 'know':58 'knowledg':81 'learn':10,30 'new':12 'possibl':38 're':55 'read':52 'regard':14 'relat':17 'resolv':68 'secur':22,35 'specif':88 'standard':85 'thing':13,18 'tri':8 'trivi':72 'use':90 'use-cas':89 'vulner':61 'wolfi':41 'work':66 'www.chainguard.dev':47 'www.chainguard.dev/unchained/introducing-wolfi-the-first-linux-un-distro)':46"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/5621343"
+editedAt: null
+createdAt: DateTimeImmutable @1699468864 {#3970
date: 2023-11-08 19:41:04.0 +01:00
}
}
+root: App\Entity\EntryComment {#4029}
+body: """
> If the end-goal is not learning but having an as secure container as possible\n
\n
It’s actually both – there is always something new to learn, after all. And thanks for these tips, I’ll read em right now.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1699469263 {#4239
date: 2023-11-08 19:47:43.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@alt@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4242 …}
+nested: Doctrine\ORM\PersistentCollection {#4244 …}
+votes: Doctrine\ORM\PersistentCollection {#4246 …}
+reports: Doctrine\ORM\PersistentCollection {#4248 …}
+favourites: Doctrine\ORM\PersistentCollection {#4250 …}
+notifications: Doctrine\ORM\PersistentCollection {#4252 …}
-id: 102358
-bodyTs: "'actual':19 'alway':23 'contain':14 'em':38 'end':4 'end-goal':3 'goal':5 'learn':8,27 'll':36 'new':25 'possibl':16 'read':37 'right':39 'secur':13 'someth':24 'thank':31 'tip':34"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5162400"
+editedAt: null
+createdAt: DateTimeImmutable @1699469263 {#4240
date: 2023-11-08 19:47:43.0 +01:00
}
} |
|
Show voter details
|
| 13 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
| 14 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4075
+user: App\Entity\User {#4059 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
Am I understanding correctly that you are building the image by copying in key elements from the host machine’s functioning nginx installation?\n
\n
This is creative but not common approach to docker.\n
\n
Normally software is installed following the officially documented procedure (imagine installing using apt or a shell script via RUN). Sometimes software documentation has specific recommendations to follow for containerized installs.\n
\n
It’s common to have the version defined as a variable where a change in value invalidates the docker layer cache. To me it’s unclear how caching would work with your dockerfile, for example, in the event of a upgrade. You could also see how a breaking change (such as one in the paths you are copying) could run into issues with your hardcoded approach.\n
\n
In the case of software like nginx, I would use the official image, mount config/cert files instead of copying, and extend in my own dockerfile if needed.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699812074 {#4081
date: 2023-11-12 19:01:14.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4067 …}
+nested: Doctrine\ORM\PersistentCollection {#4070 …}
+votes: Doctrine\ORM\PersistentCollection {#4068 …}
+reports: Doctrine\ORM\PersistentCollection {#4066 …}
+favourites: Doctrine\ORM\PersistentCollection {#4065 …}
+notifications: Doctrine\ORM\PersistentCollection {#4056 …}
-id: 102610
-bodyTs: "'also':106 'approach':30,128 'apt':45 'break':110 'build':8 'cach':83,90 'case':131 'chang':76,111 'common':29,65 'config/cert':143 'container':61 'copi':12,120,147 'correct':4 'could':105,121 'creativ':26 'defin':70 'docker':32,81 'dockerfil':95,153 'document':40,54 'element':15 'event':100 'exampl':97 'extend':149 'file':144 'follow':37,59 'function':21 'hardcod':127 'host':18 'imag':10,141 'imagin':42 'instal':23,36,43,62 'instead':145 'invalid':79 'issu':124 'key':14 'layer':82 'like':134 'machin':19 'mount':142 'need':155 'nginx':22,135 'normal':33 'offici':39,140 'one':114 'path':117 'procedur':41 'recommend':57 'run':51,122 'script':49 'see':107 'shell':48 'softwar':34,53,133 'sometim':52 'specif':56 'unclear':88 'understand':3 'upgrad':103 'use':44,138 'valu':78 'variabl':73 'version':69 'via':50 'work':92 'would':91,137"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://programming.dev/comment/4641911"
+editedAt: null
+createdAt: DateTimeImmutable @1699477187 {#4079
date: 2023-11-08 21:59:47.0 +01:00
}
} |
|
Show voter details
|
| 15 |
DENIED
|
edit
|
App\Entity\EntryComment {#4075
+user: App\Entity\User {#4059 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
Am I understanding correctly that you are building the image by copying in key elements from the host machine’s functioning nginx installation?\n
\n
This is creative but not common approach to docker.\n
\n
Normally software is installed following the officially documented procedure (imagine installing using apt or a shell script via RUN). Sometimes software documentation has specific recommendations to follow for containerized installs.\n
\n
It’s common to have the version defined as a variable where a change in value invalidates the docker layer cache. To me it’s unclear how caching would work with your dockerfile, for example, in the event of a upgrade. You could also see how a breaking change (such as one in the paths you are copying) could run into issues with your hardcoded approach.\n
\n
In the case of software like nginx, I would use the official image, mount config/cert files instead of copying, and extend in my own dockerfile if needed.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699812074 {#4081
date: 2023-11-12 19:01:14.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4067 …}
+nested: Doctrine\ORM\PersistentCollection {#4070 …}
+votes: Doctrine\ORM\PersistentCollection {#4068 …}
+reports: Doctrine\ORM\PersistentCollection {#4066 …}
+favourites: Doctrine\ORM\PersistentCollection {#4065 …}
+notifications: Doctrine\ORM\PersistentCollection {#4056 …}
-id: 102610
-bodyTs: "'also':106 'approach':30,128 'apt':45 'break':110 'build':8 'cach':83,90 'case':131 'chang':76,111 'common':29,65 'config/cert':143 'container':61 'copi':12,120,147 'correct':4 'could':105,121 'creativ':26 'defin':70 'docker':32,81 'dockerfil':95,153 'document':40,54 'element':15 'event':100 'exampl':97 'extend':149 'file':144 'follow':37,59 'function':21 'hardcod':127 'host':18 'imag':10,141 'imagin':42 'instal':23,36,43,62 'instead':145 'invalid':79 'issu':124 'key':14 'layer':82 'like':134 'machin':19 'mount':142 'need':155 'nginx':22,135 'normal':33 'offici':39,140 'one':114 'path':117 'procedur':41 'recommend':57 'run':51,122 'script':49 'see':107 'shell':48 'softwar':34,53,133 'sometim':52 'specif':56 'unclear':88 'understand':3 'upgrad':103 'use':44,138 'valu':78 'variabl':73 'version':69 'via':50 'work':92 'would':91,137"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://programming.dev/comment/4641911"
+editedAt: null
+createdAt: DateTimeImmutable @1699477187 {#4079
date: 2023-11-08 21:59:47.0 +01:00
}
} |
|
Show voter details
|
| 16 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4075
+user: App\Entity\User {#4059 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
Am I understanding correctly that you are building the image by copying in key elements from the host machine’s functioning nginx installation?\n
\n
This is creative but not common approach to docker.\n
\n
Normally software is installed following the officially documented procedure (imagine installing using apt or a shell script via RUN). Sometimes software documentation has specific recommendations to follow for containerized installs.\n
\n
It’s common to have the version defined as a variable where a change in value invalidates the docker layer cache. To me it’s unclear how caching would work with your dockerfile, for example, in the event of a upgrade. You could also see how a breaking change (such as one in the paths you are copying) could run into issues with your hardcoded approach.\n
\n
In the case of software like nginx, I would use the official image, mount config/cert files instead of copying, and extend in my own dockerfile if needed.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699812074 {#4081
date: 2023-11-12 19:01:14.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4067 …}
+nested: Doctrine\ORM\PersistentCollection {#4070 …}
+votes: Doctrine\ORM\PersistentCollection {#4068 …}
+reports: Doctrine\ORM\PersistentCollection {#4066 …}
+favourites: Doctrine\ORM\PersistentCollection {#4065 …}
+notifications: Doctrine\ORM\PersistentCollection {#4056 …}
-id: 102610
-bodyTs: "'also':106 'approach':30,128 'apt':45 'break':110 'build':8 'cach':83,90 'case':131 'chang':76,111 'common':29,65 'config/cert':143 'container':61 'copi':12,120,147 'correct':4 'could':105,121 'creativ':26 'defin':70 'docker':32,81 'dockerfil':95,153 'document':40,54 'element':15 'event':100 'exampl':97 'extend':149 'file':144 'follow':37,59 'function':21 'hardcod':127 'host':18 'imag':10,141 'imagin':42 'instal':23,36,43,62 'instead':145 'invalid':79 'issu':124 'key':14 'layer':82 'like':134 'machin':19 'mount':142 'need':155 'nginx':22,135 'normal':33 'offici':39,140 'one':114 'path':117 'procedur':41 'recommend':57 'run':51,122 'script':49 'see':107 'shell':48 'softwar':34,53,133 'sometim':52 'specif':56 'unclear':88 'understand':3 'upgrad':103 'use':44,138 'valu':78 'variabl':73 'version':69 'via':50 'work':92 'would':91,137"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://programming.dev/comment/4641911"
+editedAt: null
+createdAt: DateTimeImmutable @1699477187 {#4079
date: 2023-11-08 21:59:47.0 +01:00
}
} |
|
Show voter details
|
| 17 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
| 18 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4257
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4075
+user: App\Entity\User {#4059 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
Am I understanding correctly that you are building the image by copying in key elements from the host machine’s functioning nginx installation?\n
\n
This is creative but not common approach to docker.\n
\n
Normally software is installed following the officially documented procedure (imagine installing using apt or a shell script via RUN). Sometimes software documentation has specific recommendations to follow for containerized installs.\n
\n
It’s common to have the version defined as a variable where a change in value invalidates the docker layer cache. To me it’s unclear how caching would work with your dockerfile, for example, in the event of a upgrade. You could also see how a breaking change (such as one in the paths you are copying) could run into issues with your hardcoded approach.\n
\n
In the case of software like nginx, I would use the official image, mount config/cert files instead of copying, and extend in my own dockerfile if needed.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699812074 {#4081
date: 2023-11-12 19:01:14.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4067 …}
+nested: Doctrine\ORM\PersistentCollection {#4070 …}
+votes: Doctrine\ORM\PersistentCollection {#4068 …}
+reports: Doctrine\ORM\PersistentCollection {#4066 …}
+favourites: Doctrine\ORM\PersistentCollection {#4065 …}
+notifications: Doctrine\ORM\PersistentCollection {#4056 …}
-id: 102610
-bodyTs: "'also':106 'approach':30,128 'apt':45 'break':110 'build':8 'cach':83,90 'case':131 'chang':76,111 'common':29,65 'config/cert':143 'container':61 'copi':12,120,147 'correct':4 'could':105,121 'creativ':26 'defin':70 'docker':32,81 'dockerfil':95,153 'document':40,54 'element':15 'event':100 'exampl':97 'extend':149 'file':144 'follow':37,59 'function':21 'hardcod':127 'host':18 'imag':10,141 'imagin':42 'instal':23,36,43,62 'instead':145 'invalid':79 'issu':124 'key':14 'layer':82 'like':134 'machin':19 'mount':142 'need':155 'nginx':22,135 'normal':33 'offici':39,140 'one':114 'path':117 'procedur':41 'recommend':57 'run':51,122 'script':49 'see':107 'shell':48 'softwar':34,53,133 'sometim':52 'specif':56 'unclear':88 'understand':3 'upgrad':103 'use':44,138 'valu':78 'variabl':73 'version':69 'via':50 'work':92 'would':91,137"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://programming.dev/comment/4641911"
+editedAt: null
+createdAt: DateTimeImmutable @1699477187 {#4079
date: 2023-11-08 21:59:47.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
> copying in key elements from the host machine\n
\n
Not from the host machine, but from the official nginx image ( nginx:mainline-alpine3.18-slim ). And what it (basically) does is separate the essential commands/files inside a scratch image and gives every command a custom username tag.\n
\n
Still, I appreciate your input.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699480235 {#4254
date: 2023-11-08 22:50:35.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4258 …}
+nested: Doctrine\ORM\PersistentCollection {#4260 …}
+votes: Doctrine\ORM\PersistentCollection {#4262 …}
+reports: Doctrine\ORM\PersistentCollection {#4264 …}
+favourites: Doctrine\ORM\PersistentCollection {#4266 …}
+notifications: Doctrine\ORM\PersistentCollection {#4268 …}
-id: 102720
-bodyTs: "'18':24 'alpine3':23 'appreci':50 'basic':29 'command':43 'commands/files':35 'copi':1 'custom':45 'element':4 'essenti':34 'everi':42 'give':41 'host':7,12 'imag':19,39 'input':52 'insid':36 'key':3 'machin':8,13 'mainlin':22 'mainline-alpine3':21 'nginx':18,20 'offici':17 'scratch':38 'separ':32 'slim':25 'still':48 'tag':47 'usernam':46"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5166116"
+editedAt: DateTimeImmutable @1699541783 {#4255
date: 2023-11-09 15:56:23.0 +01:00
}
+createdAt: DateTimeImmutable @1699480235 {#4256
date: 2023-11-08 22:50:35.0 +01:00
}
} |
|
Show voter details
|
| 19 |
DENIED
|
edit
|
App\Entity\EntryComment {#4257
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4075
+user: App\Entity\User {#4059 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
Am I understanding correctly that you are building the image by copying in key elements from the host machine’s functioning nginx installation?\n
\n
This is creative but not common approach to docker.\n
\n
Normally software is installed following the officially documented procedure (imagine installing using apt or a shell script via RUN). Sometimes software documentation has specific recommendations to follow for containerized installs.\n
\n
It’s common to have the version defined as a variable where a change in value invalidates the docker layer cache. To me it’s unclear how caching would work with your dockerfile, for example, in the event of a upgrade. You could also see how a breaking change (such as one in the paths you are copying) could run into issues with your hardcoded approach.\n
\n
In the case of software like nginx, I would use the official image, mount config/cert files instead of copying, and extend in my own dockerfile if needed.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699812074 {#4081
date: 2023-11-12 19:01:14.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4067 …}
+nested: Doctrine\ORM\PersistentCollection {#4070 …}
+votes: Doctrine\ORM\PersistentCollection {#4068 …}
+reports: Doctrine\ORM\PersistentCollection {#4066 …}
+favourites: Doctrine\ORM\PersistentCollection {#4065 …}
+notifications: Doctrine\ORM\PersistentCollection {#4056 …}
-id: 102610
-bodyTs: "'also':106 'approach':30,128 'apt':45 'break':110 'build':8 'cach':83,90 'case':131 'chang':76,111 'common':29,65 'config/cert':143 'container':61 'copi':12,120,147 'correct':4 'could':105,121 'creativ':26 'defin':70 'docker':32,81 'dockerfil':95,153 'document':40,54 'element':15 'event':100 'exampl':97 'extend':149 'file':144 'follow':37,59 'function':21 'hardcod':127 'host':18 'imag':10,141 'imagin':42 'instal':23,36,43,62 'instead':145 'invalid':79 'issu':124 'key':14 'layer':82 'like':134 'machin':19 'mount':142 'need':155 'nginx':22,135 'normal':33 'offici':39,140 'one':114 'path':117 'procedur':41 'recommend':57 'run':51,122 'script':49 'see':107 'shell':48 'softwar':34,53,133 'sometim':52 'specif':56 'unclear':88 'understand':3 'upgrad':103 'use':44,138 'valu':78 'variabl':73 'version':69 'via':50 'work':92 'would':91,137"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://programming.dev/comment/4641911"
+editedAt: null
+createdAt: DateTimeImmutable @1699477187 {#4079
date: 2023-11-08 21:59:47.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
> copying in key elements from the host machine\n
\n
Not from the host machine, but from the official nginx image ( nginx:mainline-alpine3.18-slim ). And what it (basically) does is separate the essential commands/files inside a scratch image and gives every command a custom username tag.\n
\n
Still, I appreciate your input.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699480235 {#4254
date: 2023-11-08 22:50:35.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4258 …}
+nested: Doctrine\ORM\PersistentCollection {#4260 …}
+votes: Doctrine\ORM\PersistentCollection {#4262 …}
+reports: Doctrine\ORM\PersistentCollection {#4264 …}
+favourites: Doctrine\ORM\PersistentCollection {#4266 …}
+notifications: Doctrine\ORM\PersistentCollection {#4268 …}
-id: 102720
-bodyTs: "'18':24 'alpine3':23 'appreci':50 'basic':29 'command':43 'commands/files':35 'copi':1 'custom':45 'element':4 'essenti':34 'everi':42 'give':41 'host':7,12 'imag':19,39 'input':52 'insid':36 'key':3 'machin':8,13 'mainlin':22 'mainline-alpine3':21 'nginx':18,20 'offici':17 'scratch':38 'separ':32 'slim':25 'still':48 'tag':47 'usernam':46"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5166116"
+editedAt: DateTimeImmutable @1699541783 {#4255
date: 2023-11-09 15:56:23.0 +01:00
}
+createdAt: DateTimeImmutable @1699480235 {#4256
date: 2023-11-08 22:50:35.0 +01:00
}
} |
|
Show voter details
|
| 20 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4257
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4075
+user: App\Entity\User {#4059 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
Am I understanding correctly that you are building the image by copying in key elements from the host machine’s functioning nginx installation?\n
\n
This is creative but not common approach to docker.\n
\n
Normally software is installed following the officially documented procedure (imagine installing using apt or a shell script via RUN). Sometimes software documentation has specific recommendations to follow for containerized installs.\n
\n
It’s common to have the version defined as a variable where a change in value invalidates the docker layer cache. To me it’s unclear how caching would work with your dockerfile, for example, in the event of a upgrade. You could also see how a breaking change (such as one in the paths you are copying) could run into issues with your hardcoded approach.\n
\n
In the case of software like nginx, I would use the official image, mount config/cert files instead of copying, and extend in my own dockerfile if needed.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699812074 {#4081
date: 2023-11-12 19:01:14.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4067 …}
+nested: Doctrine\ORM\PersistentCollection {#4070 …}
+votes: Doctrine\ORM\PersistentCollection {#4068 …}
+reports: Doctrine\ORM\PersistentCollection {#4066 …}
+favourites: Doctrine\ORM\PersistentCollection {#4065 …}
+notifications: Doctrine\ORM\PersistentCollection {#4056 …}
-id: 102610
-bodyTs: "'also':106 'approach':30,128 'apt':45 'break':110 'build':8 'cach':83,90 'case':131 'chang':76,111 'common':29,65 'config/cert':143 'container':61 'copi':12,120,147 'correct':4 'could':105,121 'creativ':26 'defin':70 'docker':32,81 'dockerfil':95,153 'document':40,54 'element':15 'event':100 'exampl':97 'extend':149 'file':144 'follow':37,59 'function':21 'hardcod':127 'host':18 'imag':10,141 'imagin':42 'instal':23,36,43,62 'instead':145 'invalid':79 'issu':124 'key':14 'layer':82 'like':134 'machin':19 'mount':142 'need':155 'nginx':22,135 'normal':33 'offici':39,140 'one':114 'path':117 'procedur':41 'recommend':57 'run':51,122 'script':49 'see':107 'shell':48 'softwar':34,53,133 'sometim':52 'specif':56 'unclear':88 'understand':3 'upgrad':103 'use':44,138 'valu':78 'variabl':73 'version':69 'via':50 'work':92 'would':91,137"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://programming.dev/comment/4641911"
+editedAt: null
+createdAt: DateTimeImmutable @1699477187 {#4079
date: 2023-11-08 21:59:47.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
> copying in key elements from the host machine\n
\n
Not from the host machine, but from the official nginx image ( nginx:mainline-alpine3.18-slim ). And what it (basically) does is separate the essential commands/files inside a scratch image and gives every command a custom username tag.\n
\n
Still, I appreciate your input.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699480235 {#4254
date: 2023-11-08 22:50:35.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4258 …}
+nested: Doctrine\ORM\PersistentCollection {#4260 …}
+votes: Doctrine\ORM\PersistentCollection {#4262 …}
+reports: Doctrine\ORM\PersistentCollection {#4264 …}
+favourites: Doctrine\ORM\PersistentCollection {#4266 …}
+notifications: Doctrine\ORM\PersistentCollection {#4268 …}
-id: 102720
-bodyTs: "'18':24 'alpine3':23 'appreci':50 'basic':29 'command':43 'commands/files':35 'copi':1 'custom':45 'element':4 'essenti':34 'everi':42 'give':41 'host':7,12 'imag':19,39 'input':52 'insid':36 'key':3 'machin':8,13 'mainlin':22 'mainline-alpine3':21 'nginx':18,20 'offici':17 'scratch':38 'separ':32 'slim':25 'still':48 'tag':47 'usernam':46"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5166116"
+editedAt: DateTimeImmutable @1699541783 {#4255
date: 2023-11-09 15:56:23.0 +01:00
}
+createdAt: DateTimeImmutable @1699480235 {#4256
date: 2023-11-08 22:50:35.0 +01:00
}
} |
|
Show voter details
|
| 21 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
| 22 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4277
+user: Proxies\__CG__\App\Entity\User {#4274 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4257
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4075
+user: App\Entity\User {#4059 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
Am I understanding correctly that you are building the image by copying in key elements from the host machine’s functioning nginx installation?\n
\n
This is creative but not common approach to docker.\n
\n
Normally software is installed following the officially documented procedure (imagine installing using apt or a shell script via RUN). Sometimes software documentation has specific recommendations to follow for containerized installs.\n
\n
It’s common to have the version defined as a variable where a change in value invalidates the docker layer cache. To me it’s unclear how caching would work with your dockerfile, for example, in the event of a upgrade. You could also see how a breaking change (such as one in the paths you are copying) could run into issues with your hardcoded approach.\n
\n
In the case of software like nginx, I would use the official image, mount config/cert files instead of copying, and extend in my own dockerfile if needed.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699812074 {#4081
date: 2023-11-12 19:01:14.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4067 …}
+nested: Doctrine\ORM\PersistentCollection {#4070 …}
+votes: Doctrine\ORM\PersistentCollection {#4068 …}
+reports: Doctrine\ORM\PersistentCollection {#4066 …}
+favourites: Doctrine\ORM\PersistentCollection {#4065 …}
+notifications: Doctrine\ORM\PersistentCollection {#4056 …}
-id: 102610
-bodyTs: "'also':106 'approach':30,128 'apt':45 'break':110 'build':8 'cach':83,90 'case':131 'chang':76,111 'common':29,65 'config/cert':143 'container':61 'copi':12,120,147 'correct':4 'could':105,121 'creativ':26 'defin':70 'docker':32,81 'dockerfil':95,153 'document':40,54 'element':15 'event':100 'exampl':97 'extend':149 'file':144 'follow':37,59 'function':21 'hardcod':127 'host':18 'imag':10,141 'imagin':42 'instal':23,36,43,62 'instead':145 'invalid':79 'issu':124 'key':14 'layer':82 'like':134 'machin':19 'mount':142 'need':155 'nginx':22,135 'normal':33 'offici':39,140 'one':114 'path':117 'procedur':41 'recommend':57 'run':51,122 'script':49 'see':107 'shell':48 'softwar':34,53,133 'sometim':52 'specif':56 'unclear':88 'understand':3 'upgrad':103 'use':44,138 'valu':78 'variabl':73 'version':69 'via':50 'work':92 'would':91,137"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://programming.dev/comment/4641911"
+editedAt: null
+createdAt: DateTimeImmutable @1699477187 {#4079
date: 2023-11-08 21:59:47.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
> copying in key elements from the host machine\n
\n
Not from the host machine, but from the official nginx image ( nginx:mainline-alpine3.18-slim ). And what it (basically) does is separate the essential commands/files inside a scratch image and gives every command a custom username tag.\n
\n
Still, I appreciate your input.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699480235 {#4254
date: 2023-11-08 22:50:35.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4258 …}
+nested: Doctrine\ORM\PersistentCollection {#4260 …}
+votes: Doctrine\ORM\PersistentCollection {#4262 …}
+reports: Doctrine\ORM\PersistentCollection {#4264 …}
+favourites: Doctrine\ORM\PersistentCollection {#4266 …}
+notifications: Doctrine\ORM\PersistentCollection {#4268 …}
-id: 102720
-bodyTs: "'18':24 'alpine3':23 'appreci':50 'basic':29 'command':43 'commands/files':35 'copi':1 'custom':45 'element':4 'essenti':34 'everi':42 'give':41 'host':7,12 'imag':19,39 'input':52 'insid':36 'key':3 'machin':8,13 'mainlin':22 'mainline-alpine3':21 'nginx':18,20 'offici':17 'scratch':38 'separ':32 'slim':25 'still':48 'tag':47 'usernam':46"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5166116"
+editedAt: DateTimeImmutable @1699541783 {#4255
date: 2023-11-09 15:56:23.0 +01:00
}
+createdAt: DateTimeImmutable @1699480235 {#4256
date: 2023-11-08 22:50:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
A bit late but you might want to have a look at [docker multi-stage build documentation](https://docs.docker.com/build/building/multi-stage/) which does exactly what you did (start from a base image then copying stuff from it to your own image), something like that:\n
\n
```\n
\n
<span style="color:#323232;">FROM someimage:sometag AS build\n
</span><span style="color:#323232;">[do stuff]\n
</span><span style="color:#323232;">FROM minimalimage:someothertag\n
</span><span style="color:#323232;">COPY --from=build /some/file /some/other/file\n
</span><span style="color:#323232;">[and so on]\n
</span><span style="color:#323232;">USER somebody\n
</span><span style="color:#323232;">CMD ["/path/somecommand"]\n
</span>\n
```\n
\n
Which will simplify building new images against newer “build” image newer tags easier.\n
\n
btw, you were quite creative on this one! You also might want to have a look at the distroless image, the goal being to only have the bare minimum to run your application in the image: your executable and its runtime dependencies.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699654537 {#4281
date: 2023-11-10 23:15:37.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4273 …}
+nested: Doctrine\ORM\PersistentCollection {#4271 …}
+votes: Doctrine\ORM\PersistentCollection {#4286 …}
+reports: Doctrine\ORM\PersistentCollection {#4288 …}
+favourites: Doctrine\ORM\PersistentCollection {#4290 …}
+notifications: Doctrine\ORM\PersistentCollection {#4292 …}
-id: 109230
-bodyTs: "'/build/building/multi-stage/)':21 '/path/somecommand':66 '/some/file':58 '/some/other/file':59 'also':89 'applic':112 'bare':107 'base':31 'bit':2 'btw':80 'build':17,49,57,70,75 'cmd':65 'copi':34,55 'creativ':84 'depend':121 'distroless':98 'docker':13 'docs.docker.com':20 'docs.docker.com/build/building/multi-stage/)':19 'document':18 'easier':79 'exact':24 'execut':117 'goal':101 'imag':32,41,72,76,99,115 'late':3 'like':43 'look':11,95 'might':6,90 'minimalimag':53 'minimum':108 'multi':15 'multi-stag':14 'new':71 'newer':74,77 'one':87 'quit':83 'run':110 'runtim':120 'simplifi':69 'somebodi':64 'someimag':46 'someothertag':54 'sometag':47 'someth':42 'stage':16 'start':28 'stuff':35,51 'tag':78 'user':63 'want':7,91"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.sdf.org/comment/5312898"
+editedAt: DateTimeImmutable @1699745034 {#4284
date: 2023-11-12 00:23:54.0 +01:00
}
+createdAt: DateTimeImmutable @1699654537 {#4280
date: 2023-11-10 23:15:37.0 +01:00
}
} |
|
Show voter details
|
| 23 |
DENIED
|
edit
|
App\Entity\EntryComment {#4277
+user: Proxies\__CG__\App\Entity\User {#4274 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4257
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4075
+user: App\Entity\User {#4059 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
Am I understanding correctly that you are building the image by copying in key elements from the host machine’s functioning nginx installation?\n
\n
This is creative but not common approach to docker.\n
\n
Normally software is installed following the officially documented procedure (imagine installing using apt or a shell script via RUN). Sometimes software documentation has specific recommendations to follow for containerized installs.\n
\n
It’s common to have the version defined as a variable where a change in value invalidates the docker layer cache. To me it’s unclear how caching would work with your dockerfile, for example, in the event of a upgrade. You could also see how a breaking change (such as one in the paths you are copying) could run into issues with your hardcoded approach.\n
\n
In the case of software like nginx, I would use the official image, mount config/cert files instead of copying, and extend in my own dockerfile if needed.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699812074 {#4081
date: 2023-11-12 19:01:14.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4067 …}
+nested: Doctrine\ORM\PersistentCollection {#4070 …}
+votes: Doctrine\ORM\PersistentCollection {#4068 …}
+reports: Doctrine\ORM\PersistentCollection {#4066 …}
+favourites: Doctrine\ORM\PersistentCollection {#4065 …}
+notifications: Doctrine\ORM\PersistentCollection {#4056 …}
-id: 102610
-bodyTs: "'also':106 'approach':30,128 'apt':45 'break':110 'build':8 'cach':83,90 'case':131 'chang':76,111 'common':29,65 'config/cert':143 'container':61 'copi':12,120,147 'correct':4 'could':105,121 'creativ':26 'defin':70 'docker':32,81 'dockerfil':95,153 'document':40,54 'element':15 'event':100 'exampl':97 'extend':149 'file':144 'follow':37,59 'function':21 'hardcod':127 'host':18 'imag':10,141 'imagin':42 'instal':23,36,43,62 'instead':145 'invalid':79 'issu':124 'key':14 'layer':82 'like':134 'machin':19 'mount':142 'need':155 'nginx':22,135 'normal':33 'offici':39,140 'one':114 'path':117 'procedur':41 'recommend':57 'run':51,122 'script':49 'see':107 'shell':48 'softwar':34,53,133 'sometim':52 'specif':56 'unclear':88 'understand':3 'upgrad':103 'use':44,138 'valu':78 'variabl':73 'version':69 'via':50 'work':92 'would':91,137"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://programming.dev/comment/4641911"
+editedAt: null
+createdAt: DateTimeImmutable @1699477187 {#4079
date: 2023-11-08 21:59:47.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
> copying in key elements from the host machine\n
\n
Not from the host machine, but from the official nginx image ( nginx:mainline-alpine3.18-slim ). And what it (basically) does is separate the essential commands/files inside a scratch image and gives every command a custom username tag.\n
\n
Still, I appreciate your input.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699480235 {#4254
date: 2023-11-08 22:50:35.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4258 …}
+nested: Doctrine\ORM\PersistentCollection {#4260 …}
+votes: Doctrine\ORM\PersistentCollection {#4262 …}
+reports: Doctrine\ORM\PersistentCollection {#4264 …}
+favourites: Doctrine\ORM\PersistentCollection {#4266 …}
+notifications: Doctrine\ORM\PersistentCollection {#4268 …}
-id: 102720
-bodyTs: "'18':24 'alpine3':23 'appreci':50 'basic':29 'command':43 'commands/files':35 'copi':1 'custom':45 'element':4 'essenti':34 'everi':42 'give':41 'host':7,12 'imag':19,39 'input':52 'insid':36 'key':3 'machin':8,13 'mainlin':22 'mainline-alpine3':21 'nginx':18,20 'offici':17 'scratch':38 'separ':32 'slim':25 'still':48 'tag':47 'usernam':46"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5166116"
+editedAt: DateTimeImmutable @1699541783 {#4255
date: 2023-11-09 15:56:23.0 +01:00
}
+createdAt: DateTimeImmutable @1699480235 {#4256
date: 2023-11-08 22:50:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
A bit late but you might want to have a look at [docker multi-stage build documentation](https://docs.docker.com/build/building/multi-stage/) which does exactly what you did (start from a base image then copying stuff from it to your own image), something like that:\n
\n
```\n
\n
<span style="color:#323232;">FROM someimage:sometag AS build\n
</span><span style="color:#323232;">[do stuff]\n
</span><span style="color:#323232;">FROM minimalimage:someothertag\n
</span><span style="color:#323232;">COPY --from=build /some/file /some/other/file\n
</span><span style="color:#323232;">[and so on]\n
</span><span style="color:#323232;">USER somebody\n
</span><span style="color:#323232;">CMD ["/path/somecommand"]\n
</span>\n
```\n
\n
Which will simplify building new images against newer “build” image newer tags easier.\n
\n
btw, you were quite creative on this one! You also might want to have a look at the distroless image, the goal being to only have the bare minimum to run your application in the image: your executable and its runtime dependencies.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699654537 {#4281
date: 2023-11-10 23:15:37.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4273 …}
+nested: Doctrine\ORM\PersistentCollection {#4271 …}
+votes: Doctrine\ORM\PersistentCollection {#4286 …}
+reports: Doctrine\ORM\PersistentCollection {#4288 …}
+favourites: Doctrine\ORM\PersistentCollection {#4290 …}
+notifications: Doctrine\ORM\PersistentCollection {#4292 …}
-id: 109230
-bodyTs: "'/build/building/multi-stage/)':21 '/path/somecommand':66 '/some/file':58 '/some/other/file':59 'also':89 'applic':112 'bare':107 'base':31 'bit':2 'btw':80 'build':17,49,57,70,75 'cmd':65 'copi':34,55 'creativ':84 'depend':121 'distroless':98 'docker':13 'docs.docker.com':20 'docs.docker.com/build/building/multi-stage/)':19 'document':18 'easier':79 'exact':24 'execut':117 'goal':101 'imag':32,41,72,76,99,115 'late':3 'like':43 'look':11,95 'might':6,90 'minimalimag':53 'minimum':108 'multi':15 'multi-stag':14 'new':71 'newer':74,77 'one':87 'quit':83 'run':110 'runtim':120 'simplifi':69 'somebodi':64 'someimag':46 'someothertag':54 'sometag':47 'someth':42 'stage':16 'start':28 'stuff':35,51 'tag':78 'user':63 'want':7,91"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.sdf.org/comment/5312898"
+editedAt: DateTimeImmutable @1699745034 {#4284
date: 2023-11-12 00:23:54.0 +01:00
}
+createdAt: DateTimeImmutable @1699654537 {#4280
date: 2023-11-10 23:15:37.0 +01:00
}
} |
|
Show voter details
|
| 24 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4277
+user: Proxies\__CG__\App\Entity\User {#4274 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4257
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4075
+user: App\Entity\User {#4059 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
Am I understanding correctly that you are building the image by copying in key elements from the host machine’s functioning nginx installation?\n
\n
This is creative but not common approach to docker.\n
\n
Normally software is installed following the officially documented procedure (imagine installing using apt or a shell script via RUN). Sometimes software documentation has specific recommendations to follow for containerized installs.\n
\n
It’s common to have the version defined as a variable where a change in value invalidates the docker layer cache. To me it’s unclear how caching would work with your dockerfile, for example, in the event of a upgrade. You could also see how a breaking change (such as one in the paths you are copying) could run into issues with your hardcoded approach.\n
\n
In the case of software like nginx, I would use the official image, mount config/cert files instead of copying, and extend in my own dockerfile if needed.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699812074 {#4081
date: 2023-11-12 19:01:14.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4067 …}
+nested: Doctrine\ORM\PersistentCollection {#4070 …}
+votes: Doctrine\ORM\PersistentCollection {#4068 …}
+reports: Doctrine\ORM\PersistentCollection {#4066 …}
+favourites: Doctrine\ORM\PersistentCollection {#4065 …}
+notifications: Doctrine\ORM\PersistentCollection {#4056 …}
-id: 102610
-bodyTs: "'also':106 'approach':30,128 'apt':45 'break':110 'build':8 'cach':83,90 'case':131 'chang':76,111 'common':29,65 'config/cert':143 'container':61 'copi':12,120,147 'correct':4 'could':105,121 'creativ':26 'defin':70 'docker':32,81 'dockerfil':95,153 'document':40,54 'element':15 'event':100 'exampl':97 'extend':149 'file':144 'follow':37,59 'function':21 'hardcod':127 'host':18 'imag':10,141 'imagin':42 'instal':23,36,43,62 'instead':145 'invalid':79 'issu':124 'key':14 'layer':82 'like':134 'machin':19 'mount':142 'need':155 'nginx':22,135 'normal':33 'offici':39,140 'one':114 'path':117 'procedur':41 'recommend':57 'run':51,122 'script':49 'see':107 'shell':48 'softwar':34,53,133 'sometim':52 'specif':56 'unclear':88 'understand':3 'upgrad':103 'use':44,138 'valu':78 'variabl':73 'version':69 'via':50 'work':92 'would':91,137"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://programming.dev/comment/4641911"
+editedAt: null
+createdAt: DateTimeImmutable @1699477187 {#4079
date: 2023-11-08 21:59:47.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
> copying in key elements from the host machine\n
\n
Not from the host machine, but from the official nginx image ( nginx:mainline-alpine3.18-slim ). And what it (basically) does is separate the essential commands/files inside a scratch image and gives every command a custom username tag.\n
\n
Still, I appreciate your input.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699480235 {#4254
date: 2023-11-08 22:50:35.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4258 …}
+nested: Doctrine\ORM\PersistentCollection {#4260 …}
+votes: Doctrine\ORM\PersistentCollection {#4262 …}
+reports: Doctrine\ORM\PersistentCollection {#4264 …}
+favourites: Doctrine\ORM\PersistentCollection {#4266 …}
+notifications: Doctrine\ORM\PersistentCollection {#4268 …}
-id: 102720
-bodyTs: "'18':24 'alpine3':23 'appreci':50 'basic':29 'command':43 'commands/files':35 'copi':1 'custom':45 'element':4 'essenti':34 'everi':42 'give':41 'host':7,12 'imag':19,39 'input':52 'insid':36 'key':3 'machin':8,13 'mainlin':22 'mainline-alpine3':21 'nginx':18,20 'offici':17 'scratch':38 'separ':32 'slim':25 'still':48 'tag':47 'usernam':46"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5166116"
+editedAt: DateTimeImmutable @1699541783 {#4255
date: 2023-11-09 15:56:23.0 +01:00
}
+createdAt: DateTimeImmutable @1699480235 {#4256
date: 2023-11-08 22:50:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
A bit late but you might want to have a look at [docker multi-stage build documentation](https://docs.docker.com/build/building/multi-stage/) which does exactly what you did (start from a base image then copying stuff from it to your own image), something like that:\n
\n
```\n
\n
<span style="color:#323232;">FROM someimage:sometag AS build\n
</span><span style="color:#323232;">[do stuff]\n
</span><span style="color:#323232;">FROM minimalimage:someothertag\n
</span><span style="color:#323232;">COPY --from=build /some/file /some/other/file\n
</span><span style="color:#323232;">[and so on]\n
</span><span style="color:#323232;">USER somebody\n
</span><span style="color:#323232;">CMD ["/path/somecommand"]\n
</span>\n
```\n
\n
Which will simplify building new images against newer “build” image newer tags easier.\n
\n
btw, you were quite creative on this one! You also might want to have a look at the distroless image, the goal being to only have the bare minimum to run your application in the image: your executable and its runtime dependencies.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699654537 {#4281
date: 2023-11-10 23:15:37.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4273 …}
+nested: Doctrine\ORM\PersistentCollection {#4271 …}
+votes: Doctrine\ORM\PersistentCollection {#4286 …}
+reports: Doctrine\ORM\PersistentCollection {#4288 …}
+favourites: Doctrine\ORM\PersistentCollection {#4290 …}
+notifications: Doctrine\ORM\PersistentCollection {#4292 …}
-id: 109230
-bodyTs: "'/build/building/multi-stage/)':21 '/path/somecommand':66 '/some/file':58 '/some/other/file':59 'also':89 'applic':112 'bare':107 'base':31 'bit':2 'btw':80 'build':17,49,57,70,75 'cmd':65 'copi':34,55 'creativ':84 'depend':121 'distroless':98 'docker':13 'docs.docker.com':20 'docs.docker.com/build/building/multi-stage/)':19 'document':18 'easier':79 'exact':24 'execut':117 'goal':101 'imag':32,41,72,76,99,115 'late':3 'like':43 'look':11,95 'might':6,90 'minimalimag':53 'minimum':108 'multi':15 'multi-stag':14 'new':71 'newer':74,77 'one':87 'quit':83 'run':110 'runtim':120 'simplifi':69 'somebodi':64 'someimag':46 'someothertag':54 'sometag':47 'someth':42 'stage':16 'start':28 'stuff':35,51 'tag':78 'user':63 'want':7,91"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.sdf.org/comment/5312898"
+editedAt: DateTimeImmutable @1699745034 {#4284
date: 2023-11-12 00:23:54.0 +01:00
}
+createdAt: DateTimeImmutable @1699654537 {#4280
date: 2023-11-10 23:15:37.0 +01:00
}
} |
|
Show voter details
|
| 25 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
| 26 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4309
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4277
+user: Proxies\__CG__\App\Entity\User {#4274 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4257
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4075
+user: App\Entity\User {#4059 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
Am I understanding correctly that you are building the image by copying in key elements from the host machine’s functioning nginx installation?\n
\n
This is creative but not common approach to docker.\n
\n
Normally software is installed following the officially documented procedure (imagine installing using apt or a shell script via RUN). Sometimes software documentation has specific recommendations to follow for containerized installs.\n
\n
It’s common to have the version defined as a variable where a change in value invalidates the docker layer cache. To me it’s unclear how caching would work with your dockerfile, for example, in the event of a upgrade. You could also see how a breaking change (such as one in the paths you are copying) could run into issues with your hardcoded approach.\n
\n
In the case of software like nginx, I would use the official image, mount config/cert files instead of copying, and extend in my own dockerfile if needed.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699812074 {#4081
date: 2023-11-12 19:01:14.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4067 …}
+nested: Doctrine\ORM\PersistentCollection {#4070 …}
+votes: Doctrine\ORM\PersistentCollection {#4068 …}
+reports: Doctrine\ORM\PersistentCollection {#4066 …}
+favourites: Doctrine\ORM\PersistentCollection {#4065 …}
+notifications: Doctrine\ORM\PersistentCollection {#4056 …}
-id: 102610
-bodyTs: "'also':106 'approach':30,128 'apt':45 'break':110 'build':8 'cach':83,90 'case':131 'chang':76,111 'common':29,65 'config/cert':143 'container':61 'copi':12,120,147 'correct':4 'could':105,121 'creativ':26 'defin':70 'docker':32,81 'dockerfil':95,153 'document':40,54 'element':15 'event':100 'exampl':97 'extend':149 'file':144 'follow':37,59 'function':21 'hardcod':127 'host':18 'imag':10,141 'imagin':42 'instal':23,36,43,62 'instead':145 'invalid':79 'issu':124 'key':14 'layer':82 'like':134 'machin':19 'mount':142 'need':155 'nginx':22,135 'normal':33 'offici':39,140 'one':114 'path':117 'procedur':41 'recommend':57 'run':51,122 'script':49 'see':107 'shell':48 'softwar':34,53,133 'sometim':52 'specif':56 'unclear':88 'understand':3 'upgrad':103 'use':44,138 'valu':78 'variabl':73 'version':69 'via':50 'work':92 'would':91,137"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://programming.dev/comment/4641911"
+editedAt: null
+createdAt: DateTimeImmutable @1699477187 {#4079
date: 2023-11-08 21:59:47.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
> copying in key elements from the host machine\n
\n
Not from the host machine, but from the official nginx image ( nginx:mainline-alpine3.18-slim ). And what it (basically) does is separate the essential commands/files inside a scratch image and gives every command a custom username tag.\n
\n
Still, I appreciate your input.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699480235 {#4254
date: 2023-11-08 22:50:35.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4258 …}
+nested: Doctrine\ORM\PersistentCollection {#4260 …}
+votes: Doctrine\ORM\PersistentCollection {#4262 …}
+reports: Doctrine\ORM\PersistentCollection {#4264 …}
+favourites: Doctrine\ORM\PersistentCollection {#4266 …}
+notifications: Doctrine\ORM\PersistentCollection {#4268 …}
-id: 102720
-bodyTs: "'18':24 'alpine3':23 'appreci':50 'basic':29 'command':43 'commands/files':35 'copi':1 'custom':45 'element':4 'essenti':34 'everi':42 'give':41 'host':7,12 'imag':19,39 'input':52 'insid':36 'key':3 'machin':8,13 'mainlin':22 'mainline-alpine3':21 'nginx':18,20 'offici':17 'scratch':38 'separ':32 'slim':25 'still':48 'tag':47 'usernam':46"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5166116"
+editedAt: DateTimeImmutable @1699541783 {#4255
date: 2023-11-09 15:56:23.0 +01:00
}
+createdAt: DateTimeImmutable @1699480235 {#4256
date: 2023-11-08 22:50:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
A bit late but you might want to have a look at [docker multi-stage build documentation](https://docs.docker.com/build/building/multi-stage/) which does exactly what you did (start from a base image then copying stuff from it to your own image), something like that:\n
\n
```\n
\n
<span style="color:#323232;">FROM someimage:sometag AS build\n
</span><span style="color:#323232;">[do stuff]\n
</span><span style="color:#323232;">FROM minimalimage:someothertag\n
</span><span style="color:#323232;">COPY --from=build /some/file /some/other/file\n
</span><span style="color:#323232;">[and so on]\n
</span><span style="color:#323232;">USER somebody\n
</span><span style="color:#323232;">CMD ["/path/somecommand"]\n
</span>\n
```\n
\n
Which will simplify building new images against newer “build” image newer tags easier.\n
\n
btw, you were quite creative on this one! You also might want to have a look at the distroless image, the goal being to only have the bare minimum to run your application in the image: your executable and its runtime dependencies.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699654537 {#4281
date: 2023-11-10 23:15:37.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4273 …}
+nested: Doctrine\ORM\PersistentCollection {#4271 …}
+votes: Doctrine\ORM\PersistentCollection {#4286 …}
+reports: Doctrine\ORM\PersistentCollection {#4288 …}
+favourites: Doctrine\ORM\PersistentCollection {#4290 …}
+notifications: Doctrine\ORM\PersistentCollection {#4292 …}
-id: 109230
-bodyTs: "'/build/building/multi-stage/)':21 '/path/somecommand':66 '/some/file':58 '/some/other/file':59 'also':89 'applic':112 'bare':107 'base':31 'bit':2 'btw':80 'build':17,49,57,70,75 'cmd':65 'copi':34,55 'creativ':84 'depend':121 'distroless':98 'docker':13 'docs.docker.com':20 'docs.docker.com/build/building/multi-stage/)':19 'document':18 'easier':79 'exact':24 'execut':117 'goal':101 'imag':32,41,72,76,99,115 'late':3 'like':43 'look':11,95 'might':6,90 'minimalimag':53 'minimum':108 'multi':15 'multi-stag':14 'new':71 'newer':74,77 'one':87 'quit':83 'run':110 'runtim':120 'simplifi':69 'somebodi':64 'someimag':46 'someothertag':54 'sometag':47 'someth':42 'stage':16 'start':28 'stuff':35,51 'tag':78 'user':63 'want':7,91"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.sdf.org/comment/5312898"
+editedAt: DateTimeImmutable @1699745034 {#4284
date: 2023-11-12 00:23:54.0 +01:00
}
+createdAt: DateTimeImmutable @1699654537 {#4280
date: 2023-11-10 23:15:37.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
Now you’ve confused me a little bit – is there any difference between a scratch and a distroless image? Aren’t they (technically) the same thing?\n
\n
That aside, thank you for your input and compliment.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699656945 {#4304
date: 2023-11-10 23:55:45.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
"@lidstah@lemmy.sdf.org"
]
+children: Doctrine\ORM\PersistentCollection {#4301 …}
+nested: Doctrine\ORM\PersistentCollection {#4298 …}
+votes: Doctrine\ORM\PersistentCollection {#4296 …}
+reports: Doctrine\ORM\PersistentCollection {#4310 …}
+favourites: Doctrine\ORM\PersistentCollection {#4312 …}
+notifications: Doctrine\ORM\PersistentCollection {#4314 …}
-id: 109337
-bodyTs: "'aren':20 'asid':28 'bit':8 'compliment':35 'confus':4 'differ':12 'distroless':18 'imag':19 'input':33 'littl':7 'scratch':15 'technic':23 'thank':29 'thing':26 've':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5219746"
+editedAt: null
+createdAt: DateTimeImmutable @1699656945 {#4307
date: 2023-11-10 23:55:45.0 +01:00
}
} |
|
Show voter details
|
| 27 |
DENIED
|
edit
|
App\Entity\EntryComment {#4309
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4277
+user: Proxies\__CG__\App\Entity\User {#4274 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4257
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4075
+user: App\Entity\User {#4059 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
Am I understanding correctly that you are building the image by copying in key elements from the host machine’s functioning nginx installation?\n
\n
This is creative but not common approach to docker.\n
\n
Normally software is installed following the officially documented procedure (imagine installing using apt or a shell script via RUN). Sometimes software documentation has specific recommendations to follow for containerized installs.\n
\n
It’s common to have the version defined as a variable where a change in value invalidates the docker layer cache. To me it’s unclear how caching would work with your dockerfile, for example, in the event of a upgrade. You could also see how a breaking change (such as one in the paths you are copying) could run into issues with your hardcoded approach.\n
\n
In the case of software like nginx, I would use the official image, mount config/cert files instead of copying, and extend in my own dockerfile if needed.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699812074 {#4081
date: 2023-11-12 19:01:14.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4067 …}
+nested: Doctrine\ORM\PersistentCollection {#4070 …}
+votes: Doctrine\ORM\PersistentCollection {#4068 …}
+reports: Doctrine\ORM\PersistentCollection {#4066 …}
+favourites: Doctrine\ORM\PersistentCollection {#4065 …}
+notifications: Doctrine\ORM\PersistentCollection {#4056 …}
-id: 102610
-bodyTs: "'also':106 'approach':30,128 'apt':45 'break':110 'build':8 'cach':83,90 'case':131 'chang':76,111 'common':29,65 'config/cert':143 'container':61 'copi':12,120,147 'correct':4 'could':105,121 'creativ':26 'defin':70 'docker':32,81 'dockerfil':95,153 'document':40,54 'element':15 'event':100 'exampl':97 'extend':149 'file':144 'follow':37,59 'function':21 'hardcod':127 'host':18 'imag':10,141 'imagin':42 'instal':23,36,43,62 'instead':145 'invalid':79 'issu':124 'key':14 'layer':82 'like':134 'machin':19 'mount':142 'need':155 'nginx':22,135 'normal':33 'offici':39,140 'one':114 'path':117 'procedur':41 'recommend':57 'run':51,122 'script':49 'see':107 'shell':48 'softwar':34,53,133 'sometim':52 'specif':56 'unclear':88 'understand':3 'upgrad':103 'use':44,138 'valu':78 'variabl':73 'version':69 'via':50 'work':92 'would':91,137"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://programming.dev/comment/4641911"
+editedAt: null
+createdAt: DateTimeImmutable @1699477187 {#4079
date: 2023-11-08 21:59:47.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
> copying in key elements from the host machine\n
\n
Not from the host machine, but from the official nginx image ( nginx:mainline-alpine3.18-slim ). And what it (basically) does is separate the essential commands/files inside a scratch image and gives every command a custom username tag.\n
\n
Still, I appreciate your input.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699480235 {#4254
date: 2023-11-08 22:50:35.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4258 …}
+nested: Doctrine\ORM\PersistentCollection {#4260 …}
+votes: Doctrine\ORM\PersistentCollection {#4262 …}
+reports: Doctrine\ORM\PersistentCollection {#4264 …}
+favourites: Doctrine\ORM\PersistentCollection {#4266 …}
+notifications: Doctrine\ORM\PersistentCollection {#4268 …}
-id: 102720
-bodyTs: "'18':24 'alpine3':23 'appreci':50 'basic':29 'command':43 'commands/files':35 'copi':1 'custom':45 'element':4 'essenti':34 'everi':42 'give':41 'host':7,12 'imag':19,39 'input':52 'insid':36 'key':3 'machin':8,13 'mainlin':22 'mainline-alpine3':21 'nginx':18,20 'offici':17 'scratch':38 'separ':32 'slim':25 'still':48 'tag':47 'usernam':46"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5166116"
+editedAt: DateTimeImmutable @1699541783 {#4255
date: 2023-11-09 15:56:23.0 +01:00
}
+createdAt: DateTimeImmutable @1699480235 {#4256
date: 2023-11-08 22:50:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
A bit late but you might want to have a look at [docker multi-stage build documentation](https://docs.docker.com/build/building/multi-stage/) which does exactly what you did (start from a base image then copying stuff from it to your own image), something like that:\n
\n
```\n
\n
<span style="color:#323232;">FROM someimage:sometag AS build\n
</span><span style="color:#323232;">[do stuff]\n
</span><span style="color:#323232;">FROM minimalimage:someothertag\n
</span><span style="color:#323232;">COPY --from=build /some/file /some/other/file\n
</span><span style="color:#323232;">[and so on]\n
</span><span style="color:#323232;">USER somebody\n
</span><span style="color:#323232;">CMD ["/path/somecommand"]\n
</span>\n
```\n
\n
Which will simplify building new images against newer “build” image newer tags easier.\n
\n
btw, you were quite creative on this one! You also might want to have a look at the distroless image, the goal being to only have the bare minimum to run your application in the image: your executable and its runtime dependencies.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699654537 {#4281
date: 2023-11-10 23:15:37.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4273 …}
+nested: Doctrine\ORM\PersistentCollection {#4271 …}
+votes: Doctrine\ORM\PersistentCollection {#4286 …}
+reports: Doctrine\ORM\PersistentCollection {#4288 …}
+favourites: Doctrine\ORM\PersistentCollection {#4290 …}
+notifications: Doctrine\ORM\PersistentCollection {#4292 …}
-id: 109230
-bodyTs: "'/build/building/multi-stage/)':21 '/path/somecommand':66 '/some/file':58 '/some/other/file':59 'also':89 'applic':112 'bare':107 'base':31 'bit':2 'btw':80 'build':17,49,57,70,75 'cmd':65 'copi':34,55 'creativ':84 'depend':121 'distroless':98 'docker':13 'docs.docker.com':20 'docs.docker.com/build/building/multi-stage/)':19 'document':18 'easier':79 'exact':24 'execut':117 'goal':101 'imag':32,41,72,76,99,115 'late':3 'like':43 'look':11,95 'might':6,90 'minimalimag':53 'minimum':108 'multi':15 'multi-stag':14 'new':71 'newer':74,77 'one':87 'quit':83 'run':110 'runtim':120 'simplifi':69 'somebodi':64 'someimag':46 'someothertag':54 'sometag':47 'someth':42 'stage':16 'start':28 'stuff':35,51 'tag':78 'user':63 'want':7,91"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.sdf.org/comment/5312898"
+editedAt: DateTimeImmutable @1699745034 {#4284
date: 2023-11-12 00:23:54.0 +01:00
}
+createdAt: DateTimeImmutable @1699654537 {#4280
date: 2023-11-10 23:15:37.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
Now you’ve confused me a little bit – is there any difference between a scratch and a distroless image? Aren’t they (technically) the same thing?\n
\n
That aside, thank you for your input and compliment.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699656945 {#4304
date: 2023-11-10 23:55:45.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
"@lidstah@lemmy.sdf.org"
]
+children: Doctrine\ORM\PersistentCollection {#4301 …}
+nested: Doctrine\ORM\PersistentCollection {#4298 …}
+votes: Doctrine\ORM\PersistentCollection {#4296 …}
+reports: Doctrine\ORM\PersistentCollection {#4310 …}
+favourites: Doctrine\ORM\PersistentCollection {#4312 …}
+notifications: Doctrine\ORM\PersistentCollection {#4314 …}
-id: 109337
-bodyTs: "'aren':20 'asid':28 'bit':8 'compliment':35 'confus':4 'differ':12 'distroless':18 'imag':19 'input':33 'littl':7 'scratch':15 'technic':23 'thank':29 'thing':26 've':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5219746"
+editedAt: null
+createdAt: DateTimeImmutable @1699656945 {#4307
date: 2023-11-10 23:55:45.0 +01:00
}
} |
|
Show voter details
|
| 28 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4309
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4277
+user: Proxies\__CG__\App\Entity\User {#4274 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4257
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4075
+user: App\Entity\User {#4059 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
Am I understanding correctly that you are building the image by copying in key elements from the host machine’s functioning nginx installation?\n
\n
This is creative but not common approach to docker.\n
\n
Normally software is installed following the officially documented procedure (imagine installing using apt or a shell script via RUN). Sometimes software documentation has specific recommendations to follow for containerized installs.\n
\n
It’s common to have the version defined as a variable where a change in value invalidates the docker layer cache. To me it’s unclear how caching would work with your dockerfile, for example, in the event of a upgrade. You could also see how a breaking change (such as one in the paths you are copying) could run into issues with your hardcoded approach.\n
\n
In the case of software like nginx, I would use the official image, mount config/cert files instead of copying, and extend in my own dockerfile if needed.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699812074 {#4081
date: 2023-11-12 19:01:14.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4067 …}
+nested: Doctrine\ORM\PersistentCollection {#4070 …}
+votes: Doctrine\ORM\PersistentCollection {#4068 …}
+reports: Doctrine\ORM\PersistentCollection {#4066 …}
+favourites: Doctrine\ORM\PersistentCollection {#4065 …}
+notifications: Doctrine\ORM\PersistentCollection {#4056 …}
-id: 102610
-bodyTs: "'also':106 'approach':30,128 'apt':45 'break':110 'build':8 'cach':83,90 'case':131 'chang':76,111 'common':29,65 'config/cert':143 'container':61 'copi':12,120,147 'correct':4 'could':105,121 'creativ':26 'defin':70 'docker':32,81 'dockerfil':95,153 'document':40,54 'element':15 'event':100 'exampl':97 'extend':149 'file':144 'follow':37,59 'function':21 'hardcod':127 'host':18 'imag':10,141 'imagin':42 'instal':23,36,43,62 'instead':145 'invalid':79 'issu':124 'key':14 'layer':82 'like':134 'machin':19 'mount':142 'need':155 'nginx':22,135 'normal':33 'offici':39,140 'one':114 'path':117 'procedur':41 'recommend':57 'run':51,122 'script':49 'see':107 'shell':48 'softwar':34,53,133 'sometim':52 'specif':56 'unclear':88 'understand':3 'upgrad':103 'use':44,138 'valu':78 'variabl':73 'version':69 'via':50 'work':92 'would':91,137"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://programming.dev/comment/4641911"
+editedAt: null
+createdAt: DateTimeImmutable @1699477187 {#4079
date: 2023-11-08 21:59:47.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
> copying in key elements from the host machine\n
\n
Not from the host machine, but from the official nginx image ( nginx:mainline-alpine3.18-slim ). And what it (basically) does is separate the essential commands/files inside a scratch image and gives every command a custom username tag.\n
\n
Still, I appreciate your input.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699480235 {#4254
date: 2023-11-08 22:50:35.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4258 …}
+nested: Doctrine\ORM\PersistentCollection {#4260 …}
+votes: Doctrine\ORM\PersistentCollection {#4262 …}
+reports: Doctrine\ORM\PersistentCollection {#4264 …}
+favourites: Doctrine\ORM\PersistentCollection {#4266 …}
+notifications: Doctrine\ORM\PersistentCollection {#4268 …}
-id: 102720
-bodyTs: "'18':24 'alpine3':23 'appreci':50 'basic':29 'command':43 'commands/files':35 'copi':1 'custom':45 'element':4 'essenti':34 'everi':42 'give':41 'host':7,12 'imag':19,39 'input':52 'insid':36 'key':3 'machin':8,13 'mainlin':22 'mainline-alpine3':21 'nginx':18,20 'offici':17 'scratch':38 'separ':32 'slim':25 'still':48 'tag':47 'usernam':46"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5166116"
+editedAt: DateTimeImmutable @1699541783 {#4255
date: 2023-11-09 15:56:23.0 +01:00
}
+createdAt: DateTimeImmutable @1699480235 {#4256
date: 2023-11-08 22:50:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
A bit late but you might want to have a look at [docker multi-stage build documentation](https://docs.docker.com/build/building/multi-stage/) which does exactly what you did (start from a base image then copying stuff from it to your own image), something like that:\n
\n
```\n
\n
<span style="color:#323232;">FROM someimage:sometag AS build\n
</span><span style="color:#323232;">[do stuff]\n
</span><span style="color:#323232;">FROM minimalimage:someothertag\n
</span><span style="color:#323232;">COPY --from=build /some/file /some/other/file\n
</span><span style="color:#323232;">[and so on]\n
</span><span style="color:#323232;">USER somebody\n
</span><span style="color:#323232;">CMD ["/path/somecommand"]\n
</span>\n
```\n
\n
Which will simplify building new images against newer “build” image newer tags easier.\n
\n
btw, you were quite creative on this one! You also might want to have a look at the distroless image, the goal being to only have the bare minimum to run your application in the image: your executable and its runtime dependencies.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699654537 {#4281
date: 2023-11-10 23:15:37.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4273 …}
+nested: Doctrine\ORM\PersistentCollection {#4271 …}
+votes: Doctrine\ORM\PersistentCollection {#4286 …}
+reports: Doctrine\ORM\PersistentCollection {#4288 …}
+favourites: Doctrine\ORM\PersistentCollection {#4290 …}
+notifications: Doctrine\ORM\PersistentCollection {#4292 …}
-id: 109230
-bodyTs: "'/build/building/multi-stage/)':21 '/path/somecommand':66 '/some/file':58 '/some/other/file':59 'also':89 'applic':112 'bare':107 'base':31 'bit':2 'btw':80 'build':17,49,57,70,75 'cmd':65 'copi':34,55 'creativ':84 'depend':121 'distroless':98 'docker':13 'docs.docker.com':20 'docs.docker.com/build/building/multi-stage/)':19 'document':18 'easier':79 'exact':24 'execut':117 'goal':101 'imag':32,41,72,76,99,115 'late':3 'like':43 'look':11,95 'might':6,90 'minimalimag':53 'minimum':108 'multi':15 'multi-stag':14 'new':71 'newer':74,77 'one':87 'quit':83 'run':110 'runtim':120 'simplifi':69 'somebodi':64 'someimag':46 'someothertag':54 'sometag':47 'someth':42 'stage':16 'start':28 'stuff':35,51 'tag':78 'user':63 'want':7,91"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.sdf.org/comment/5312898"
+editedAt: DateTimeImmutable @1699745034 {#4284
date: 2023-11-12 00:23:54.0 +01:00
}
+createdAt: DateTimeImmutable @1699654537 {#4280
date: 2023-11-10 23:15:37.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
Now you’ve confused me a little bit – is there any difference between a scratch and a distroless image? Aren’t they (technically) the same thing?\n
\n
That aside, thank you for your input and compliment.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699656945 {#4304
date: 2023-11-10 23:55:45.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
"@lidstah@lemmy.sdf.org"
]
+children: Doctrine\ORM\PersistentCollection {#4301 …}
+nested: Doctrine\ORM\PersistentCollection {#4298 …}
+votes: Doctrine\ORM\PersistentCollection {#4296 …}
+reports: Doctrine\ORM\PersistentCollection {#4310 …}
+favourites: Doctrine\ORM\PersistentCollection {#4312 …}
+notifications: Doctrine\ORM\PersistentCollection {#4314 …}
-id: 109337
-bodyTs: "'aren':20 'asid':28 'bit':8 'compliment':35 'confus':4 'differ':12 'distroless':18 'imag':19 'input':33 'littl':7 'scratch':15 'technic':23 'thank':29 'thing':26 've':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5219746"
+editedAt: null
+createdAt: DateTimeImmutable @1699656945 {#4307
date: 2023-11-10 23:55:45.0 +01:00
}
} |
|
Show voter details
|
| 29 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
| 30 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4331
+user: Proxies\__CG__\App\Entity\User {#4274 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4309
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4277
+user: Proxies\__CG__\App\Entity\User {#4274 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4257
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4075
+user: App\Entity\User {#4059 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
Am I understanding correctly that you are building the image by copying in key elements from the host machine’s functioning nginx installation?\n
\n
This is creative but not common approach to docker.\n
\n
Normally software is installed following the officially documented procedure (imagine installing using apt or a shell script via RUN). Sometimes software documentation has specific recommendations to follow for containerized installs.\n
\n
It’s common to have the version defined as a variable where a change in value invalidates the docker layer cache. To me it’s unclear how caching would work with your dockerfile, for example, in the event of a upgrade. You could also see how a breaking change (such as one in the paths you are copying) could run into issues with your hardcoded approach.\n
\n
In the case of software like nginx, I would use the official image, mount config/cert files instead of copying, and extend in my own dockerfile if needed.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699812074 {#4081
date: 2023-11-12 19:01:14.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4067 …}
+nested: Doctrine\ORM\PersistentCollection {#4070 …}
+votes: Doctrine\ORM\PersistentCollection {#4068 …}
+reports: Doctrine\ORM\PersistentCollection {#4066 …}
+favourites: Doctrine\ORM\PersistentCollection {#4065 …}
+notifications: Doctrine\ORM\PersistentCollection {#4056 …}
-id: 102610
-bodyTs: "'also':106 'approach':30,128 'apt':45 'break':110 'build':8 'cach':83,90 'case':131 'chang':76,111 'common':29,65 'config/cert':143 'container':61 'copi':12,120,147 'correct':4 'could':105,121 'creativ':26 'defin':70 'docker':32,81 'dockerfil':95,153 'document':40,54 'element':15 'event':100 'exampl':97 'extend':149 'file':144 'follow':37,59 'function':21 'hardcod':127 'host':18 'imag':10,141 'imagin':42 'instal':23,36,43,62 'instead':145 'invalid':79 'issu':124 'key':14 'layer':82 'like':134 'machin':19 'mount':142 'need':155 'nginx':22,135 'normal':33 'offici':39,140 'one':114 'path':117 'procedur':41 'recommend':57 'run':51,122 'script':49 'see':107 'shell':48 'softwar':34,53,133 'sometim':52 'specif':56 'unclear':88 'understand':3 'upgrad':103 'use':44,138 'valu':78 'variabl':73 'version':69 'via':50 'work':92 'would':91,137"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://programming.dev/comment/4641911"
+editedAt: null
+createdAt: DateTimeImmutable @1699477187 {#4079
date: 2023-11-08 21:59:47.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
> copying in key elements from the host machine\n
\n
Not from the host machine, but from the official nginx image ( nginx:mainline-alpine3.18-slim ). And what it (basically) does is separate the essential commands/files inside a scratch image and gives every command a custom username tag.\n
\n
Still, I appreciate your input.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699480235 {#4254
date: 2023-11-08 22:50:35.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4258 …}
+nested: Doctrine\ORM\PersistentCollection {#4260 …}
+votes: Doctrine\ORM\PersistentCollection {#4262 …}
+reports: Doctrine\ORM\PersistentCollection {#4264 …}
+favourites: Doctrine\ORM\PersistentCollection {#4266 …}
+notifications: Doctrine\ORM\PersistentCollection {#4268 …}
-id: 102720
-bodyTs: "'18':24 'alpine3':23 'appreci':50 'basic':29 'command':43 'commands/files':35 'copi':1 'custom':45 'element':4 'essenti':34 'everi':42 'give':41 'host':7,12 'imag':19,39 'input':52 'insid':36 'key':3 'machin':8,13 'mainlin':22 'mainline-alpine3':21 'nginx':18,20 'offici':17 'scratch':38 'separ':32 'slim':25 'still':48 'tag':47 'usernam':46"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5166116"
+editedAt: DateTimeImmutable @1699541783 {#4255
date: 2023-11-09 15:56:23.0 +01:00
}
+createdAt: DateTimeImmutable @1699480235 {#4256
date: 2023-11-08 22:50:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
A bit late but you might want to have a look at [docker multi-stage build documentation](https://docs.docker.com/build/building/multi-stage/) which does exactly what you did (start from a base image then copying stuff from it to your own image), something like that:\n
\n
```\n
\n
<span style="color:#323232;">FROM someimage:sometag AS build\n
</span><span style="color:#323232;">[do stuff]\n
</span><span style="color:#323232;">FROM minimalimage:someothertag\n
</span><span style="color:#323232;">COPY --from=build /some/file /some/other/file\n
</span><span style="color:#323232;">[and so on]\n
</span><span style="color:#323232;">USER somebody\n
</span><span style="color:#323232;">CMD ["/path/somecommand"]\n
</span>\n
```\n
\n
Which will simplify building new images against newer “build” image newer tags easier.\n
\n
btw, you were quite creative on this one! You also might want to have a look at the distroless image, the goal being to only have the bare minimum to run your application in the image: your executable and its runtime dependencies.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699654537 {#4281
date: 2023-11-10 23:15:37.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4273 …}
+nested: Doctrine\ORM\PersistentCollection {#4271 …}
+votes: Doctrine\ORM\PersistentCollection {#4286 …}
+reports: Doctrine\ORM\PersistentCollection {#4288 …}
+favourites: Doctrine\ORM\PersistentCollection {#4290 …}
+notifications: Doctrine\ORM\PersistentCollection {#4292 …}
-id: 109230
-bodyTs: "'/build/building/multi-stage/)':21 '/path/somecommand':66 '/some/file':58 '/some/other/file':59 'also':89 'applic':112 'bare':107 'base':31 'bit':2 'btw':80 'build':17,49,57,70,75 'cmd':65 'copi':34,55 'creativ':84 'depend':121 'distroless':98 'docker':13 'docs.docker.com':20 'docs.docker.com/build/building/multi-stage/)':19 'document':18 'easier':79 'exact':24 'execut':117 'goal':101 'imag':32,41,72,76,99,115 'late':3 'like':43 'look':11,95 'might':6,90 'minimalimag':53 'minimum':108 'multi':15 'multi-stag':14 'new':71 'newer':74,77 'one':87 'quit':83 'run':110 'runtim':120 'simplifi':69 'somebodi':64 'someimag':46 'someothertag':54 'sometag':47 'someth':42 'stage':16 'start':28 'stuff':35,51 'tag':78 'user':63 'want':7,91"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.sdf.org/comment/5312898"
+editedAt: DateTimeImmutable @1699745034 {#4284
date: 2023-11-12 00:23:54.0 +01:00
}
+createdAt: DateTimeImmutable @1699654537 {#4280
date: 2023-11-10 23:15:37.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
Now you’ve confused me a little bit – is there any difference between a scratch and a distroless image? Aren’t they (technically) the same thing?\n
\n
That aside, thank you for your input and compliment.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699656945 {#4304
date: 2023-11-10 23:55:45.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
"@lidstah@lemmy.sdf.org"
]
+children: Doctrine\ORM\PersistentCollection {#4301 …}
+nested: Doctrine\ORM\PersistentCollection {#4298 …}
+votes: Doctrine\ORM\PersistentCollection {#4296 …}
+reports: Doctrine\ORM\PersistentCollection {#4310 …}
+favourites: Doctrine\ORM\PersistentCollection {#4312 …}
+notifications: Doctrine\ORM\PersistentCollection {#4314 …}
-id: 109337
-bodyTs: "'aren':20 'asid':28 'bit':8 'compliment':35 'confus':4 'differ':12 'distroless':18 'imag':19 'input':33 'littl':7 'scratch':15 'technic':23 'thank':29 'thing':26 've':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5219746"
+editedAt: null
+createdAt: DateTimeImmutable @1699656945 {#4307
date: 2023-11-10 23:55:45.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
You’re welcome! scratch and distroless are indeed basically the same thing, scratch being the ‘official’ docker minimal image while distroless is from google - as I’m more a Kubernetes user (at home and at work) than a Docker user, I tend to think about distroless first :) - my apologies if my comment was a bit confusing on this matter.\n
\n
By the way, have fun experimenting with docker (or podman), it’s interesting, widely used both in selfhosting and professional environments, and it’s a great learning experience - and a good way to pass time during these long winter evenings :)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699696091 {#4326
date: 2023-11-11 10:48:11.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
"@lidstah@lemmy.sdf.org"
]
+children: Doctrine\ORM\PersistentCollection {#4323 …}
+nested: Doctrine\ORM\PersistentCollection {#4320 …}
+votes: Doctrine\ORM\PersistentCollection {#4318 …}
+reports: Doctrine\ORM\PersistentCollection {#4332 …}
+favourites: Doctrine\ORM\PersistentCollection {#4334 …}
+notifications: Doctrine\ORM\PersistentCollection {#4336 …}
-id: 110583
-bodyTs: "'apolog':49 'basic':9 'bit':55 'comment':52 'confus':56 'distroless':6,21,46 'docker':17,39,67 'environ':80 'even':99 'experi':65,87 'first':47 'fun':64 'good':90 'googl':24 'great':85 'home':33 'imag':19 'inde':8 'interest':72 'kubernet':30 'learn':86 'long':97 'm':27 'matter':59 'minim':18 'offici':16 'pass':93 'podman':69 'profession':79 're':2 'scratch':4,13 'selfhost':77 'tend':42 'thing':12 'think':44 'time':94 'use':74 'user':31,40 'way':62,91 'welcom':3 'wide':73 'winter':98 'work':36"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.sdf.org/comment/5328239"
+editedAt: null
+createdAt: DateTimeImmutable @1699696091 {#4329
date: 2023-11-11 10:48:11.0 +01:00
}
} |
|
Show voter details
|
| 31 |
DENIED
|
edit
|
App\Entity\EntryComment {#4331
+user: Proxies\__CG__\App\Entity\User {#4274 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4309
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4277
+user: Proxies\__CG__\App\Entity\User {#4274 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4257
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4075
+user: App\Entity\User {#4059 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
Am I understanding correctly that you are building the image by copying in key elements from the host machine’s functioning nginx installation?\n
\n
This is creative but not common approach to docker.\n
\n
Normally software is installed following the officially documented procedure (imagine installing using apt or a shell script via RUN). Sometimes software documentation has specific recommendations to follow for containerized installs.\n
\n
It’s common to have the version defined as a variable where a change in value invalidates the docker layer cache. To me it’s unclear how caching would work with your dockerfile, for example, in the event of a upgrade. You could also see how a breaking change (such as one in the paths you are copying) could run into issues with your hardcoded approach.\n
\n
In the case of software like nginx, I would use the official image, mount config/cert files instead of copying, and extend in my own dockerfile if needed.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699812074 {#4081
date: 2023-11-12 19:01:14.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4067 …}
+nested: Doctrine\ORM\PersistentCollection {#4070 …}
+votes: Doctrine\ORM\PersistentCollection {#4068 …}
+reports: Doctrine\ORM\PersistentCollection {#4066 …}
+favourites: Doctrine\ORM\PersistentCollection {#4065 …}
+notifications: Doctrine\ORM\PersistentCollection {#4056 …}
-id: 102610
-bodyTs: "'also':106 'approach':30,128 'apt':45 'break':110 'build':8 'cach':83,90 'case':131 'chang':76,111 'common':29,65 'config/cert':143 'container':61 'copi':12,120,147 'correct':4 'could':105,121 'creativ':26 'defin':70 'docker':32,81 'dockerfil':95,153 'document':40,54 'element':15 'event':100 'exampl':97 'extend':149 'file':144 'follow':37,59 'function':21 'hardcod':127 'host':18 'imag':10,141 'imagin':42 'instal':23,36,43,62 'instead':145 'invalid':79 'issu':124 'key':14 'layer':82 'like':134 'machin':19 'mount':142 'need':155 'nginx':22,135 'normal':33 'offici':39,140 'one':114 'path':117 'procedur':41 'recommend':57 'run':51,122 'script':49 'see':107 'shell':48 'softwar':34,53,133 'sometim':52 'specif':56 'unclear':88 'understand':3 'upgrad':103 'use':44,138 'valu':78 'variabl':73 'version':69 'via':50 'work':92 'would':91,137"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://programming.dev/comment/4641911"
+editedAt: null
+createdAt: DateTimeImmutable @1699477187 {#4079
date: 2023-11-08 21:59:47.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
> copying in key elements from the host machine\n
\n
Not from the host machine, but from the official nginx image ( nginx:mainline-alpine3.18-slim ). And what it (basically) does is separate the essential commands/files inside a scratch image and gives every command a custom username tag.\n
\n
Still, I appreciate your input.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699480235 {#4254
date: 2023-11-08 22:50:35.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4258 …}
+nested: Doctrine\ORM\PersistentCollection {#4260 …}
+votes: Doctrine\ORM\PersistentCollection {#4262 …}
+reports: Doctrine\ORM\PersistentCollection {#4264 …}
+favourites: Doctrine\ORM\PersistentCollection {#4266 …}
+notifications: Doctrine\ORM\PersistentCollection {#4268 …}
-id: 102720
-bodyTs: "'18':24 'alpine3':23 'appreci':50 'basic':29 'command':43 'commands/files':35 'copi':1 'custom':45 'element':4 'essenti':34 'everi':42 'give':41 'host':7,12 'imag':19,39 'input':52 'insid':36 'key':3 'machin':8,13 'mainlin':22 'mainline-alpine3':21 'nginx':18,20 'offici':17 'scratch':38 'separ':32 'slim':25 'still':48 'tag':47 'usernam':46"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5166116"
+editedAt: DateTimeImmutable @1699541783 {#4255
date: 2023-11-09 15:56:23.0 +01:00
}
+createdAt: DateTimeImmutable @1699480235 {#4256
date: 2023-11-08 22:50:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
A bit late but you might want to have a look at [docker multi-stage build documentation](https://docs.docker.com/build/building/multi-stage/) which does exactly what you did (start from a base image then copying stuff from it to your own image), something like that:\n
\n
```\n
\n
<span style="color:#323232;">FROM someimage:sometag AS build\n
</span><span style="color:#323232;">[do stuff]\n
</span><span style="color:#323232;">FROM minimalimage:someothertag\n
</span><span style="color:#323232;">COPY --from=build /some/file /some/other/file\n
</span><span style="color:#323232;">[and so on]\n
</span><span style="color:#323232;">USER somebody\n
</span><span style="color:#323232;">CMD ["/path/somecommand"]\n
</span>\n
```\n
\n
Which will simplify building new images against newer “build” image newer tags easier.\n
\n
btw, you were quite creative on this one! You also might want to have a look at the distroless image, the goal being to only have the bare minimum to run your application in the image: your executable and its runtime dependencies.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699654537 {#4281
date: 2023-11-10 23:15:37.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4273 …}
+nested: Doctrine\ORM\PersistentCollection {#4271 …}
+votes: Doctrine\ORM\PersistentCollection {#4286 …}
+reports: Doctrine\ORM\PersistentCollection {#4288 …}
+favourites: Doctrine\ORM\PersistentCollection {#4290 …}
+notifications: Doctrine\ORM\PersistentCollection {#4292 …}
-id: 109230
-bodyTs: "'/build/building/multi-stage/)':21 '/path/somecommand':66 '/some/file':58 '/some/other/file':59 'also':89 'applic':112 'bare':107 'base':31 'bit':2 'btw':80 'build':17,49,57,70,75 'cmd':65 'copi':34,55 'creativ':84 'depend':121 'distroless':98 'docker':13 'docs.docker.com':20 'docs.docker.com/build/building/multi-stage/)':19 'document':18 'easier':79 'exact':24 'execut':117 'goal':101 'imag':32,41,72,76,99,115 'late':3 'like':43 'look':11,95 'might':6,90 'minimalimag':53 'minimum':108 'multi':15 'multi-stag':14 'new':71 'newer':74,77 'one':87 'quit':83 'run':110 'runtim':120 'simplifi':69 'somebodi':64 'someimag':46 'someothertag':54 'sometag':47 'someth':42 'stage':16 'start':28 'stuff':35,51 'tag':78 'user':63 'want':7,91"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.sdf.org/comment/5312898"
+editedAt: DateTimeImmutable @1699745034 {#4284
date: 2023-11-12 00:23:54.0 +01:00
}
+createdAt: DateTimeImmutable @1699654537 {#4280
date: 2023-11-10 23:15:37.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
Now you’ve confused me a little bit – is there any difference between a scratch and a distroless image? Aren’t they (technically) the same thing?\n
\n
That aside, thank you for your input and compliment.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699656945 {#4304
date: 2023-11-10 23:55:45.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
"@lidstah@lemmy.sdf.org"
]
+children: Doctrine\ORM\PersistentCollection {#4301 …}
+nested: Doctrine\ORM\PersistentCollection {#4298 …}
+votes: Doctrine\ORM\PersistentCollection {#4296 …}
+reports: Doctrine\ORM\PersistentCollection {#4310 …}
+favourites: Doctrine\ORM\PersistentCollection {#4312 …}
+notifications: Doctrine\ORM\PersistentCollection {#4314 …}
-id: 109337
-bodyTs: "'aren':20 'asid':28 'bit':8 'compliment':35 'confus':4 'differ':12 'distroless':18 'imag':19 'input':33 'littl':7 'scratch':15 'technic':23 'thank':29 'thing':26 've':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5219746"
+editedAt: null
+createdAt: DateTimeImmutable @1699656945 {#4307
date: 2023-11-10 23:55:45.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
You’re welcome! scratch and distroless are indeed basically the same thing, scratch being the ‘official’ docker minimal image while distroless is from google - as I’m more a Kubernetes user (at home and at work) than a Docker user, I tend to think about distroless first :) - my apologies if my comment was a bit confusing on this matter.\n
\n
By the way, have fun experimenting with docker (or podman), it’s interesting, widely used both in selfhosting and professional environments, and it’s a great learning experience - and a good way to pass time during these long winter evenings :)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699696091 {#4326
date: 2023-11-11 10:48:11.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
"@lidstah@lemmy.sdf.org"
]
+children: Doctrine\ORM\PersistentCollection {#4323 …}
+nested: Doctrine\ORM\PersistentCollection {#4320 …}
+votes: Doctrine\ORM\PersistentCollection {#4318 …}
+reports: Doctrine\ORM\PersistentCollection {#4332 …}
+favourites: Doctrine\ORM\PersistentCollection {#4334 …}
+notifications: Doctrine\ORM\PersistentCollection {#4336 …}
-id: 110583
-bodyTs: "'apolog':49 'basic':9 'bit':55 'comment':52 'confus':56 'distroless':6,21,46 'docker':17,39,67 'environ':80 'even':99 'experi':65,87 'first':47 'fun':64 'good':90 'googl':24 'great':85 'home':33 'imag':19 'inde':8 'interest':72 'kubernet':30 'learn':86 'long':97 'm':27 'matter':59 'minim':18 'offici':16 'pass':93 'podman':69 'profession':79 're':2 'scratch':4,13 'selfhost':77 'tend':42 'thing':12 'think':44 'time':94 'use':74 'user':31,40 'way':62,91 'welcom':3 'wide':73 'winter':98 'work':36"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.sdf.org/comment/5328239"
+editedAt: null
+createdAt: DateTimeImmutable @1699696091 {#4329
date: 2023-11-11 10:48:11.0 +01:00
}
} |
|
Show voter details
|
| 32 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4331
+user: Proxies\__CG__\App\Entity\User {#4274 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4309
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4277
+user: Proxies\__CG__\App\Entity\User {#4274 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4257
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4075
+user: App\Entity\User {#4059 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
Am I understanding correctly that you are building the image by copying in key elements from the host machine’s functioning nginx installation?\n
\n
This is creative but not common approach to docker.\n
\n
Normally software is installed following the officially documented procedure (imagine installing using apt or a shell script via RUN). Sometimes software documentation has specific recommendations to follow for containerized installs.\n
\n
It’s common to have the version defined as a variable where a change in value invalidates the docker layer cache. To me it’s unclear how caching would work with your dockerfile, for example, in the event of a upgrade. You could also see how a breaking change (such as one in the paths you are copying) could run into issues with your hardcoded approach.\n
\n
In the case of software like nginx, I would use the official image, mount config/cert files instead of copying, and extend in my own dockerfile if needed.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699812074 {#4081
date: 2023-11-12 19:01:14.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4067 …}
+nested: Doctrine\ORM\PersistentCollection {#4070 …}
+votes: Doctrine\ORM\PersistentCollection {#4068 …}
+reports: Doctrine\ORM\PersistentCollection {#4066 …}
+favourites: Doctrine\ORM\PersistentCollection {#4065 …}
+notifications: Doctrine\ORM\PersistentCollection {#4056 …}
-id: 102610
-bodyTs: "'also':106 'approach':30,128 'apt':45 'break':110 'build':8 'cach':83,90 'case':131 'chang':76,111 'common':29,65 'config/cert':143 'container':61 'copi':12,120,147 'correct':4 'could':105,121 'creativ':26 'defin':70 'docker':32,81 'dockerfil':95,153 'document':40,54 'element':15 'event':100 'exampl':97 'extend':149 'file':144 'follow':37,59 'function':21 'hardcod':127 'host':18 'imag':10,141 'imagin':42 'instal':23,36,43,62 'instead':145 'invalid':79 'issu':124 'key':14 'layer':82 'like':134 'machin':19 'mount':142 'need':155 'nginx':22,135 'normal':33 'offici':39,140 'one':114 'path':117 'procedur':41 'recommend':57 'run':51,122 'script':49 'see':107 'shell':48 'softwar':34,53,133 'sometim':52 'specif':56 'unclear':88 'understand':3 'upgrad':103 'use':44,138 'valu':78 'variabl':73 'version':69 'via':50 'work':92 'would':91,137"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://programming.dev/comment/4641911"
+editedAt: null
+createdAt: DateTimeImmutable @1699477187 {#4079
date: 2023-11-08 21:59:47.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
> copying in key elements from the host machine\n
\n
Not from the host machine, but from the official nginx image ( nginx:mainline-alpine3.18-slim ). And what it (basically) does is separate the essential commands/files inside a scratch image and gives every command a custom username tag.\n
\n
Still, I appreciate your input.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699480235 {#4254
date: 2023-11-08 22:50:35.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4258 …}
+nested: Doctrine\ORM\PersistentCollection {#4260 …}
+votes: Doctrine\ORM\PersistentCollection {#4262 …}
+reports: Doctrine\ORM\PersistentCollection {#4264 …}
+favourites: Doctrine\ORM\PersistentCollection {#4266 …}
+notifications: Doctrine\ORM\PersistentCollection {#4268 …}
-id: 102720
-bodyTs: "'18':24 'alpine3':23 'appreci':50 'basic':29 'command':43 'commands/files':35 'copi':1 'custom':45 'element':4 'essenti':34 'everi':42 'give':41 'host':7,12 'imag':19,39 'input':52 'insid':36 'key':3 'machin':8,13 'mainlin':22 'mainline-alpine3':21 'nginx':18,20 'offici':17 'scratch':38 'separ':32 'slim':25 'still':48 'tag':47 'usernam':46"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5166116"
+editedAt: DateTimeImmutable @1699541783 {#4255
date: 2023-11-09 15:56:23.0 +01:00
}
+createdAt: DateTimeImmutable @1699480235 {#4256
date: 2023-11-08 22:50:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
A bit late but you might want to have a look at [docker multi-stage build documentation](https://docs.docker.com/build/building/multi-stage/) which does exactly what you did (start from a base image then copying stuff from it to your own image), something like that:\n
\n
```\n
\n
<span style="color:#323232;">FROM someimage:sometag AS build\n
</span><span style="color:#323232;">[do stuff]\n
</span><span style="color:#323232;">FROM minimalimage:someothertag\n
</span><span style="color:#323232;">COPY --from=build /some/file /some/other/file\n
</span><span style="color:#323232;">[and so on]\n
</span><span style="color:#323232;">USER somebody\n
</span><span style="color:#323232;">CMD ["/path/somecommand"]\n
</span>\n
```\n
\n
Which will simplify building new images against newer “build” image newer tags easier.\n
\n
btw, you were quite creative on this one! You also might want to have a look at the distroless image, the goal being to only have the bare minimum to run your application in the image: your executable and its runtime dependencies.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699654537 {#4281
date: 2023-11-10 23:15:37.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4273 …}
+nested: Doctrine\ORM\PersistentCollection {#4271 …}
+votes: Doctrine\ORM\PersistentCollection {#4286 …}
+reports: Doctrine\ORM\PersistentCollection {#4288 …}
+favourites: Doctrine\ORM\PersistentCollection {#4290 …}
+notifications: Doctrine\ORM\PersistentCollection {#4292 …}
-id: 109230
-bodyTs: "'/build/building/multi-stage/)':21 '/path/somecommand':66 '/some/file':58 '/some/other/file':59 'also':89 'applic':112 'bare':107 'base':31 'bit':2 'btw':80 'build':17,49,57,70,75 'cmd':65 'copi':34,55 'creativ':84 'depend':121 'distroless':98 'docker':13 'docs.docker.com':20 'docs.docker.com/build/building/multi-stage/)':19 'document':18 'easier':79 'exact':24 'execut':117 'goal':101 'imag':32,41,72,76,99,115 'late':3 'like':43 'look':11,95 'might':6,90 'minimalimag':53 'minimum':108 'multi':15 'multi-stag':14 'new':71 'newer':74,77 'one':87 'quit':83 'run':110 'runtim':120 'simplifi':69 'somebodi':64 'someimag':46 'someothertag':54 'sometag':47 'someth':42 'stage':16 'start':28 'stuff':35,51 'tag':78 'user':63 'want':7,91"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.sdf.org/comment/5312898"
+editedAt: DateTimeImmutable @1699745034 {#4284
date: 2023-11-12 00:23:54.0 +01:00
}
+createdAt: DateTimeImmutable @1699654537 {#4280
date: 2023-11-10 23:15:37.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
Now you’ve confused me a little bit – is there any difference between a scratch and a distroless image? Aren’t they (technically) the same thing?\n
\n
That aside, thank you for your input and compliment.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699656945 {#4304
date: 2023-11-10 23:55:45.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
"@lidstah@lemmy.sdf.org"
]
+children: Doctrine\ORM\PersistentCollection {#4301 …}
+nested: Doctrine\ORM\PersistentCollection {#4298 …}
+votes: Doctrine\ORM\PersistentCollection {#4296 …}
+reports: Doctrine\ORM\PersistentCollection {#4310 …}
+favourites: Doctrine\ORM\PersistentCollection {#4312 …}
+notifications: Doctrine\ORM\PersistentCollection {#4314 …}
-id: 109337
-bodyTs: "'aren':20 'asid':28 'bit':8 'compliment':35 'confus':4 'differ':12 'distroless':18 'imag':19 'input':33 'littl':7 'scratch':15 'technic':23 'thank':29 'thing':26 've':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5219746"
+editedAt: null
+createdAt: DateTimeImmutable @1699656945 {#4307
date: 2023-11-10 23:55:45.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
You’re welcome! scratch and distroless are indeed basically the same thing, scratch being the ‘official’ docker minimal image while distroless is from google - as I’m more a Kubernetes user (at home and at work) than a Docker user, I tend to think about distroless first :) - my apologies if my comment was a bit confusing on this matter.\n
\n
By the way, have fun experimenting with docker (or podman), it’s interesting, widely used both in selfhosting and professional environments, and it’s a great learning experience - and a good way to pass time during these long winter evenings :)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699696091 {#4326
date: 2023-11-11 10:48:11.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
"@lidstah@lemmy.sdf.org"
]
+children: Doctrine\ORM\PersistentCollection {#4323 …}
+nested: Doctrine\ORM\PersistentCollection {#4320 …}
+votes: Doctrine\ORM\PersistentCollection {#4318 …}
+reports: Doctrine\ORM\PersistentCollection {#4332 …}
+favourites: Doctrine\ORM\PersistentCollection {#4334 …}
+notifications: Doctrine\ORM\PersistentCollection {#4336 …}
-id: 110583
-bodyTs: "'apolog':49 'basic':9 'bit':55 'comment':52 'confus':56 'distroless':6,21,46 'docker':17,39,67 'environ':80 'even':99 'experi':65,87 'first':47 'fun':64 'good':90 'googl':24 'great':85 'home':33 'imag':19 'inde':8 'interest':72 'kubernet':30 'learn':86 'long':97 'm':27 'matter':59 'minim':18 'offici':16 'pass':93 'podman':69 'profession':79 're':2 'scratch':4,13 'selfhost':77 'tend':42 'thing':12 'think':44 'time':94 'use':74 'user':31,40 'way':62,91 'welcom':3 'wide':73 'winter':98 'work':36"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.sdf.org/comment/5328239"
+editedAt: null
+createdAt: DateTimeImmutable @1699696091 {#4329
date: 2023-11-11 10:48:11.0 +01:00
}
} |
|
Show voter details
|
| 33 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
| 34 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4353
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4331
+user: Proxies\__CG__\App\Entity\User {#4274 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4309
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4277
+user: Proxies\__CG__\App\Entity\User {#4274 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4257
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4075
+user: App\Entity\User {#4059 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
Am I understanding correctly that you are building the image by copying in key elements from the host machine’s functioning nginx installation?\n
\n
This is creative but not common approach to docker.\n
\n
Normally software is installed following the officially documented procedure (imagine installing using apt or a shell script via RUN). Sometimes software documentation has specific recommendations to follow for containerized installs.\n
\n
It’s common to have the version defined as a variable where a change in value invalidates the docker layer cache. To me it’s unclear how caching would work with your dockerfile, for example, in the event of a upgrade. You could also see how a breaking change (such as one in the paths you are copying) could run into issues with your hardcoded approach.\n
\n
In the case of software like nginx, I would use the official image, mount config/cert files instead of copying, and extend in my own dockerfile if needed.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699812074 {#4081
date: 2023-11-12 19:01:14.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4067 …}
+nested: Doctrine\ORM\PersistentCollection {#4070 …}
+votes: Doctrine\ORM\PersistentCollection {#4068 …}
+reports: Doctrine\ORM\PersistentCollection {#4066 …}
+favourites: Doctrine\ORM\PersistentCollection {#4065 …}
+notifications: Doctrine\ORM\PersistentCollection {#4056 …}
-id: 102610
-bodyTs: "'also':106 'approach':30,128 'apt':45 'break':110 'build':8 'cach':83,90 'case':131 'chang':76,111 'common':29,65 'config/cert':143 'container':61 'copi':12,120,147 'correct':4 'could':105,121 'creativ':26 'defin':70 'docker':32,81 'dockerfil':95,153 'document':40,54 'element':15 'event':100 'exampl':97 'extend':149 'file':144 'follow':37,59 'function':21 'hardcod':127 'host':18 'imag':10,141 'imagin':42 'instal':23,36,43,62 'instead':145 'invalid':79 'issu':124 'key':14 'layer':82 'like':134 'machin':19 'mount':142 'need':155 'nginx':22,135 'normal':33 'offici':39,140 'one':114 'path':117 'procedur':41 'recommend':57 'run':51,122 'script':49 'see':107 'shell':48 'softwar':34,53,133 'sometim':52 'specif':56 'unclear':88 'understand':3 'upgrad':103 'use':44,138 'valu':78 'variabl':73 'version':69 'via':50 'work':92 'would':91,137"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://programming.dev/comment/4641911"
+editedAt: null
+createdAt: DateTimeImmutable @1699477187 {#4079
date: 2023-11-08 21:59:47.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
> copying in key elements from the host machine\n
\n
Not from the host machine, but from the official nginx image ( nginx:mainline-alpine3.18-slim ). And what it (basically) does is separate the essential commands/files inside a scratch image and gives every command a custom username tag.\n
\n
Still, I appreciate your input.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699480235 {#4254
date: 2023-11-08 22:50:35.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4258 …}
+nested: Doctrine\ORM\PersistentCollection {#4260 …}
+votes: Doctrine\ORM\PersistentCollection {#4262 …}
+reports: Doctrine\ORM\PersistentCollection {#4264 …}
+favourites: Doctrine\ORM\PersistentCollection {#4266 …}
+notifications: Doctrine\ORM\PersistentCollection {#4268 …}
-id: 102720
-bodyTs: "'18':24 'alpine3':23 'appreci':50 'basic':29 'command':43 'commands/files':35 'copi':1 'custom':45 'element':4 'essenti':34 'everi':42 'give':41 'host':7,12 'imag':19,39 'input':52 'insid':36 'key':3 'machin':8,13 'mainlin':22 'mainline-alpine3':21 'nginx':18,20 'offici':17 'scratch':38 'separ':32 'slim':25 'still':48 'tag':47 'usernam':46"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5166116"
+editedAt: DateTimeImmutable @1699541783 {#4255
date: 2023-11-09 15:56:23.0 +01:00
}
+createdAt: DateTimeImmutable @1699480235 {#4256
date: 2023-11-08 22:50:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
A bit late but you might want to have a look at [docker multi-stage build documentation](https://docs.docker.com/build/building/multi-stage/) which does exactly what you did (start from a base image then copying stuff from it to your own image), something like that:\n
\n
```\n
\n
<span style="color:#323232;">FROM someimage:sometag AS build\n
</span><span style="color:#323232;">[do stuff]\n
</span><span style="color:#323232;">FROM minimalimage:someothertag\n
</span><span style="color:#323232;">COPY --from=build /some/file /some/other/file\n
</span><span style="color:#323232;">[and so on]\n
</span><span style="color:#323232;">USER somebody\n
</span><span style="color:#323232;">CMD ["/path/somecommand"]\n
</span>\n
```\n
\n
Which will simplify building new images against newer “build” image newer tags easier.\n
\n
btw, you were quite creative on this one! You also might want to have a look at the distroless image, the goal being to only have the bare minimum to run your application in the image: your executable and its runtime dependencies.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699654537 {#4281
date: 2023-11-10 23:15:37.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4273 …}
+nested: Doctrine\ORM\PersistentCollection {#4271 …}
+votes: Doctrine\ORM\PersistentCollection {#4286 …}
+reports: Doctrine\ORM\PersistentCollection {#4288 …}
+favourites: Doctrine\ORM\PersistentCollection {#4290 …}
+notifications: Doctrine\ORM\PersistentCollection {#4292 …}
-id: 109230
-bodyTs: "'/build/building/multi-stage/)':21 '/path/somecommand':66 '/some/file':58 '/some/other/file':59 'also':89 'applic':112 'bare':107 'base':31 'bit':2 'btw':80 'build':17,49,57,70,75 'cmd':65 'copi':34,55 'creativ':84 'depend':121 'distroless':98 'docker':13 'docs.docker.com':20 'docs.docker.com/build/building/multi-stage/)':19 'document':18 'easier':79 'exact':24 'execut':117 'goal':101 'imag':32,41,72,76,99,115 'late':3 'like':43 'look':11,95 'might':6,90 'minimalimag':53 'minimum':108 'multi':15 'multi-stag':14 'new':71 'newer':74,77 'one':87 'quit':83 'run':110 'runtim':120 'simplifi':69 'somebodi':64 'someimag':46 'someothertag':54 'sometag':47 'someth':42 'stage':16 'start':28 'stuff':35,51 'tag':78 'user':63 'want':7,91"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.sdf.org/comment/5312898"
+editedAt: DateTimeImmutable @1699745034 {#4284
date: 2023-11-12 00:23:54.0 +01:00
}
+createdAt: DateTimeImmutable @1699654537 {#4280
date: 2023-11-10 23:15:37.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
Now you’ve confused me a little bit – is there any difference between a scratch and a distroless image? Aren’t they (technically) the same thing?\n
\n
That aside, thank you for your input and compliment.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699656945 {#4304
date: 2023-11-10 23:55:45.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
"@lidstah@lemmy.sdf.org"
]
+children: Doctrine\ORM\PersistentCollection {#4301 …}
+nested: Doctrine\ORM\PersistentCollection {#4298 …}
+votes: Doctrine\ORM\PersistentCollection {#4296 …}
+reports: Doctrine\ORM\PersistentCollection {#4310 …}
+favourites: Doctrine\ORM\PersistentCollection {#4312 …}
+notifications: Doctrine\ORM\PersistentCollection {#4314 …}
-id: 109337
-bodyTs: "'aren':20 'asid':28 'bit':8 'compliment':35 'confus':4 'differ':12 'distroless':18 'imag':19 'input':33 'littl':7 'scratch':15 'technic':23 'thank':29 'thing':26 've':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5219746"
+editedAt: null
+createdAt: DateTimeImmutable @1699656945 {#4307
date: 2023-11-10 23:55:45.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
You’re welcome! scratch and distroless are indeed basically the same thing, scratch being the ‘official’ docker minimal image while distroless is from google - as I’m more a Kubernetes user (at home and at work) than a Docker user, I tend to think about distroless first :) - my apologies if my comment was a bit confusing on this matter.\n
\n
By the way, have fun experimenting with docker (or podman), it’s interesting, widely used both in selfhosting and professional environments, and it’s a great learning experience - and a good way to pass time during these long winter evenings :)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699696091 {#4326
date: 2023-11-11 10:48:11.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
"@lidstah@lemmy.sdf.org"
]
+children: Doctrine\ORM\PersistentCollection {#4323 …}
+nested: Doctrine\ORM\PersistentCollection {#4320 …}
+votes: Doctrine\ORM\PersistentCollection {#4318 …}
+reports: Doctrine\ORM\PersistentCollection {#4332 …}
+favourites: Doctrine\ORM\PersistentCollection {#4334 …}
+notifications: Doctrine\ORM\PersistentCollection {#4336 …}
-id: 110583
-bodyTs: "'apolog':49 'basic':9 'bit':55 'comment':52 'confus':56 'distroless':6,21,46 'docker':17,39,67 'environ':80 'even':99 'experi':65,87 'first':47 'fun':64 'good':90 'googl':24 'great':85 'home':33 'imag':19 'inde':8 'interest':72 'kubernet':30 'learn':86 'long':97 'm':27 'matter':59 'minim':18 'offici':16 'pass':93 'podman':69 'profession':79 're':2 'scratch':4,13 'selfhost':77 'tend':42 'thing':12 'think':44 'time':94 'use':74 'user':31,40 'way':62,91 'welcom':3 'wide':73 'winter':98 'work':36"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.sdf.org/comment/5328239"
+editedAt: null
+createdAt: DateTimeImmutable @1699696091 {#4329
date: 2023-11-11 10:48:11.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: "Oh, I see. Thanks for clarifying. And I’ve got to admit that “dockerizing” everything is a fun process indeed. :P"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699704125 {#4348
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
"@lidstah@lemmy.sdf.org"
]
+children: Doctrine\ORM\PersistentCollection {#4345 …}
+nested: Doctrine\ORM\PersistentCollection {#4342 …}
+votes: Doctrine\ORM\PersistentCollection {#4340 …}
+reports: Doctrine\ORM\PersistentCollection {#4354 …}
+favourites: Doctrine\ORM\PersistentCollection {#4356 …}
+notifications: Doctrine\ORM\PersistentCollection {#4358 …}
-id: 110861
-bodyTs: "'admit':12 'clarifi':6 'docker':14 'everyth':15 'fun':18 'got':10 'inde':20 'oh':1 'p':21 'process':19 'see':3 'thank':4 've':9"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5231906"
+editedAt: null
+createdAt: DateTimeImmutable @1699704125 {#4351
date: 2023-11-11 13:02:05.0 +01:00
}
} |
|
Show voter details
|
| 35 |
DENIED
|
edit
|
App\Entity\EntryComment {#4353
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4331
+user: Proxies\__CG__\App\Entity\User {#4274 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4309
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4277
+user: Proxies\__CG__\App\Entity\User {#4274 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4257
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4075
+user: App\Entity\User {#4059 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
Am I understanding correctly that you are building the image by copying in key elements from the host machine’s functioning nginx installation?\n
\n
This is creative but not common approach to docker.\n
\n
Normally software is installed following the officially documented procedure (imagine installing using apt or a shell script via RUN). Sometimes software documentation has specific recommendations to follow for containerized installs.\n
\n
It’s common to have the version defined as a variable where a change in value invalidates the docker layer cache. To me it’s unclear how caching would work with your dockerfile, for example, in the event of a upgrade. You could also see how a breaking change (such as one in the paths you are copying) could run into issues with your hardcoded approach.\n
\n
In the case of software like nginx, I would use the official image, mount config/cert files instead of copying, and extend in my own dockerfile if needed.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699812074 {#4081
date: 2023-11-12 19:01:14.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4067 …}
+nested: Doctrine\ORM\PersistentCollection {#4070 …}
+votes: Doctrine\ORM\PersistentCollection {#4068 …}
+reports: Doctrine\ORM\PersistentCollection {#4066 …}
+favourites: Doctrine\ORM\PersistentCollection {#4065 …}
+notifications: Doctrine\ORM\PersistentCollection {#4056 …}
-id: 102610
-bodyTs: "'also':106 'approach':30,128 'apt':45 'break':110 'build':8 'cach':83,90 'case':131 'chang':76,111 'common':29,65 'config/cert':143 'container':61 'copi':12,120,147 'correct':4 'could':105,121 'creativ':26 'defin':70 'docker':32,81 'dockerfil':95,153 'document':40,54 'element':15 'event':100 'exampl':97 'extend':149 'file':144 'follow':37,59 'function':21 'hardcod':127 'host':18 'imag':10,141 'imagin':42 'instal':23,36,43,62 'instead':145 'invalid':79 'issu':124 'key':14 'layer':82 'like':134 'machin':19 'mount':142 'need':155 'nginx':22,135 'normal':33 'offici':39,140 'one':114 'path':117 'procedur':41 'recommend':57 'run':51,122 'script':49 'see':107 'shell':48 'softwar':34,53,133 'sometim':52 'specif':56 'unclear':88 'understand':3 'upgrad':103 'use':44,138 'valu':78 'variabl':73 'version':69 'via':50 'work':92 'would':91,137"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://programming.dev/comment/4641911"
+editedAt: null
+createdAt: DateTimeImmutable @1699477187 {#4079
date: 2023-11-08 21:59:47.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
> copying in key elements from the host machine\n
\n
Not from the host machine, but from the official nginx image ( nginx:mainline-alpine3.18-slim ). And what it (basically) does is separate the essential commands/files inside a scratch image and gives every command a custom username tag.\n
\n
Still, I appreciate your input.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699480235 {#4254
date: 2023-11-08 22:50:35.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4258 …}
+nested: Doctrine\ORM\PersistentCollection {#4260 …}
+votes: Doctrine\ORM\PersistentCollection {#4262 …}
+reports: Doctrine\ORM\PersistentCollection {#4264 …}
+favourites: Doctrine\ORM\PersistentCollection {#4266 …}
+notifications: Doctrine\ORM\PersistentCollection {#4268 …}
-id: 102720
-bodyTs: "'18':24 'alpine3':23 'appreci':50 'basic':29 'command':43 'commands/files':35 'copi':1 'custom':45 'element':4 'essenti':34 'everi':42 'give':41 'host':7,12 'imag':19,39 'input':52 'insid':36 'key':3 'machin':8,13 'mainlin':22 'mainline-alpine3':21 'nginx':18,20 'offici':17 'scratch':38 'separ':32 'slim':25 'still':48 'tag':47 'usernam':46"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5166116"
+editedAt: DateTimeImmutable @1699541783 {#4255
date: 2023-11-09 15:56:23.0 +01:00
}
+createdAt: DateTimeImmutable @1699480235 {#4256
date: 2023-11-08 22:50:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
A bit late but you might want to have a look at [docker multi-stage build documentation](https://docs.docker.com/build/building/multi-stage/) which does exactly what you did (start from a base image then copying stuff from it to your own image), something like that:\n
\n
```\n
\n
<span style="color:#323232;">FROM someimage:sometag AS build\n
</span><span style="color:#323232;">[do stuff]\n
</span><span style="color:#323232;">FROM minimalimage:someothertag\n
</span><span style="color:#323232;">COPY --from=build /some/file /some/other/file\n
</span><span style="color:#323232;">[and so on]\n
</span><span style="color:#323232;">USER somebody\n
</span><span style="color:#323232;">CMD ["/path/somecommand"]\n
</span>\n
```\n
\n
Which will simplify building new images against newer “build” image newer tags easier.\n
\n
btw, you were quite creative on this one! You also might want to have a look at the distroless image, the goal being to only have the bare minimum to run your application in the image: your executable and its runtime dependencies.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699654537 {#4281
date: 2023-11-10 23:15:37.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4273 …}
+nested: Doctrine\ORM\PersistentCollection {#4271 …}
+votes: Doctrine\ORM\PersistentCollection {#4286 …}
+reports: Doctrine\ORM\PersistentCollection {#4288 …}
+favourites: Doctrine\ORM\PersistentCollection {#4290 …}
+notifications: Doctrine\ORM\PersistentCollection {#4292 …}
-id: 109230
-bodyTs: "'/build/building/multi-stage/)':21 '/path/somecommand':66 '/some/file':58 '/some/other/file':59 'also':89 'applic':112 'bare':107 'base':31 'bit':2 'btw':80 'build':17,49,57,70,75 'cmd':65 'copi':34,55 'creativ':84 'depend':121 'distroless':98 'docker':13 'docs.docker.com':20 'docs.docker.com/build/building/multi-stage/)':19 'document':18 'easier':79 'exact':24 'execut':117 'goal':101 'imag':32,41,72,76,99,115 'late':3 'like':43 'look':11,95 'might':6,90 'minimalimag':53 'minimum':108 'multi':15 'multi-stag':14 'new':71 'newer':74,77 'one':87 'quit':83 'run':110 'runtim':120 'simplifi':69 'somebodi':64 'someimag':46 'someothertag':54 'sometag':47 'someth':42 'stage':16 'start':28 'stuff':35,51 'tag':78 'user':63 'want':7,91"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.sdf.org/comment/5312898"
+editedAt: DateTimeImmutable @1699745034 {#4284
date: 2023-11-12 00:23:54.0 +01:00
}
+createdAt: DateTimeImmutable @1699654537 {#4280
date: 2023-11-10 23:15:37.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
Now you’ve confused me a little bit – is there any difference between a scratch and a distroless image? Aren’t they (technically) the same thing?\n
\n
That aside, thank you for your input and compliment.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699656945 {#4304
date: 2023-11-10 23:55:45.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
"@lidstah@lemmy.sdf.org"
]
+children: Doctrine\ORM\PersistentCollection {#4301 …}
+nested: Doctrine\ORM\PersistentCollection {#4298 …}
+votes: Doctrine\ORM\PersistentCollection {#4296 …}
+reports: Doctrine\ORM\PersistentCollection {#4310 …}
+favourites: Doctrine\ORM\PersistentCollection {#4312 …}
+notifications: Doctrine\ORM\PersistentCollection {#4314 …}
-id: 109337
-bodyTs: "'aren':20 'asid':28 'bit':8 'compliment':35 'confus':4 'differ':12 'distroless':18 'imag':19 'input':33 'littl':7 'scratch':15 'technic':23 'thank':29 'thing':26 've':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5219746"
+editedAt: null
+createdAt: DateTimeImmutable @1699656945 {#4307
date: 2023-11-10 23:55:45.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
You’re welcome! scratch and distroless are indeed basically the same thing, scratch being the ‘official’ docker minimal image while distroless is from google - as I’m more a Kubernetes user (at home and at work) than a Docker user, I tend to think about distroless first :) - my apologies if my comment was a bit confusing on this matter.\n
\n
By the way, have fun experimenting with docker (or podman), it’s interesting, widely used both in selfhosting and professional environments, and it’s a great learning experience - and a good way to pass time during these long winter evenings :)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699696091 {#4326
date: 2023-11-11 10:48:11.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
"@lidstah@lemmy.sdf.org"
]
+children: Doctrine\ORM\PersistentCollection {#4323 …}
+nested: Doctrine\ORM\PersistentCollection {#4320 …}
+votes: Doctrine\ORM\PersistentCollection {#4318 …}
+reports: Doctrine\ORM\PersistentCollection {#4332 …}
+favourites: Doctrine\ORM\PersistentCollection {#4334 …}
+notifications: Doctrine\ORM\PersistentCollection {#4336 …}
-id: 110583
-bodyTs: "'apolog':49 'basic':9 'bit':55 'comment':52 'confus':56 'distroless':6,21,46 'docker':17,39,67 'environ':80 'even':99 'experi':65,87 'first':47 'fun':64 'good':90 'googl':24 'great':85 'home':33 'imag':19 'inde':8 'interest':72 'kubernet':30 'learn':86 'long':97 'm':27 'matter':59 'minim':18 'offici':16 'pass':93 'podman':69 'profession':79 're':2 'scratch':4,13 'selfhost':77 'tend':42 'thing':12 'think':44 'time':94 'use':74 'user':31,40 'way':62,91 'welcom':3 'wide':73 'winter':98 'work':36"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.sdf.org/comment/5328239"
+editedAt: null
+createdAt: DateTimeImmutable @1699696091 {#4329
date: 2023-11-11 10:48:11.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: "Oh, I see. Thanks for clarifying. And I’ve got to admit that “dockerizing” everything is a fun process indeed. :P"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699704125 {#4348
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
"@lidstah@lemmy.sdf.org"
]
+children: Doctrine\ORM\PersistentCollection {#4345 …}
+nested: Doctrine\ORM\PersistentCollection {#4342 …}
+votes: Doctrine\ORM\PersistentCollection {#4340 …}
+reports: Doctrine\ORM\PersistentCollection {#4354 …}
+favourites: Doctrine\ORM\PersistentCollection {#4356 …}
+notifications: Doctrine\ORM\PersistentCollection {#4358 …}
-id: 110861
-bodyTs: "'admit':12 'clarifi':6 'docker':14 'everyth':15 'fun':18 'got':10 'inde':20 'oh':1 'p':21 'process':19 'see':3 'thank':4 've':9"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5231906"
+editedAt: null
+createdAt: DateTimeImmutable @1699704125 {#4351
date: 2023-11-11 13:02:05.0 +01:00
}
} |
|
Show voter details
|
| 36 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4353
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4331
+user: Proxies\__CG__\App\Entity\User {#4274 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4309
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4277
+user: Proxies\__CG__\App\Entity\User {#4274 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4257
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4075
+user: App\Entity\User {#4059 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: null
+root: null
+body: """
Am I understanding correctly that you are building the image by copying in key elements from the host machine’s functioning nginx installation?\n
\n
This is creative but not common approach to docker.\n
\n
Normally software is installed following the officially documented procedure (imagine installing using apt or a shell script via RUN). Sometimes software documentation has specific recommendations to follow for containerized installs.\n
\n
It’s common to have the version defined as a variable where a change in value invalidates the docker layer cache. To me it’s unclear how caching would work with your dockerfile, for example, in the event of a upgrade. You could also see how a breaking change (such as one in the paths you are copying) could run into issues with your hardcoded approach.\n
\n
In the case of software like nginx, I would use the official image, mount config/cert files instead of copying, and extend in my own dockerfile if needed.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699812074 {#4081
date: 2023-11-12 19:01:14.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4067 …}
+nested: Doctrine\ORM\PersistentCollection {#4070 …}
+votes: Doctrine\ORM\PersistentCollection {#4068 …}
+reports: Doctrine\ORM\PersistentCollection {#4066 …}
+favourites: Doctrine\ORM\PersistentCollection {#4065 …}
+notifications: Doctrine\ORM\PersistentCollection {#4056 …}
-id: 102610
-bodyTs: "'also':106 'approach':30,128 'apt':45 'break':110 'build':8 'cach':83,90 'case':131 'chang':76,111 'common':29,65 'config/cert':143 'container':61 'copi':12,120,147 'correct':4 'could':105,121 'creativ':26 'defin':70 'docker':32,81 'dockerfil':95,153 'document':40,54 'element':15 'event':100 'exampl':97 'extend':149 'file':144 'follow':37,59 'function':21 'hardcod':127 'host':18 'imag':10,141 'imagin':42 'instal':23,36,43,62 'instead':145 'invalid':79 'issu':124 'key':14 'layer':82 'like':134 'machin':19 'mount':142 'need':155 'nginx':22,135 'normal':33 'offici':39,140 'one':114 'path':117 'procedur':41 'recommend':57 'run':51,122 'script':49 'see':107 'shell':48 'softwar':34,53,133 'sometim':52 'specif':56 'unclear':88 'understand':3 'upgrad':103 'use':44,138 'valu':78 'variabl':73 'version':69 'via':50 'work':92 'would':91,137"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://programming.dev/comment/4641911"
+editedAt: null
+createdAt: DateTimeImmutable @1699477187 {#4079
date: 2023-11-08 21:59:47.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
> copying in key elements from the host machine\n
\n
Not from the host machine, but from the official nginx image ( nginx:mainline-alpine3.18-slim ). And what it (basically) does is separate the essential commands/files inside a scratch image and gives every command a custom username tag.\n
\n
Still, I appreciate your input.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699480235 {#4254
date: 2023-11-08 22:50:35.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4258 …}
+nested: Doctrine\ORM\PersistentCollection {#4260 …}
+votes: Doctrine\ORM\PersistentCollection {#4262 …}
+reports: Doctrine\ORM\PersistentCollection {#4264 …}
+favourites: Doctrine\ORM\PersistentCollection {#4266 …}
+notifications: Doctrine\ORM\PersistentCollection {#4268 …}
-id: 102720
-bodyTs: "'18':24 'alpine3':23 'appreci':50 'basic':29 'command':43 'commands/files':35 'copi':1 'custom':45 'element':4 'essenti':34 'everi':42 'give':41 'host':7,12 'imag':19,39 'input':52 'insid':36 'key':3 'machin':8,13 'mainlin':22 'mainline-alpine3':21 'nginx':18,20 'offici':17 'scratch':38 'separ':32 'slim':25 'still':48 'tag':47 'usernam':46"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5166116"
+editedAt: DateTimeImmutable @1699541783 {#4255
date: 2023-11-09 15:56:23.0 +01:00
}
+createdAt: DateTimeImmutable @1699480235 {#4256
date: 2023-11-08 22:50:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
A bit late but you might want to have a look at [docker multi-stage build documentation](https://docs.docker.com/build/building/multi-stage/) which does exactly what you did (start from a base image then copying stuff from it to your own image), something like that:\n
\n
```\n
\n
<span style="color:#323232;">FROM someimage:sometag AS build\n
</span><span style="color:#323232;">[do stuff]\n
</span><span style="color:#323232;">FROM minimalimage:someothertag\n
</span><span style="color:#323232;">COPY --from=build /some/file /some/other/file\n
</span><span style="color:#323232;">[and so on]\n
</span><span style="color:#323232;">USER somebody\n
</span><span style="color:#323232;">CMD ["/path/somecommand"]\n
</span>\n
```\n
\n
Which will simplify building new images against newer “build” image newer tags easier.\n
\n
btw, you were quite creative on this one! You also might want to have a look at the distroless image, the goal being to only have the bare minimum to run your application in the image: your executable and its runtime dependencies.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699654537 {#4281
date: 2023-11-10 23:15:37.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
]
+children: Doctrine\ORM\PersistentCollection {#4273 …}
+nested: Doctrine\ORM\PersistentCollection {#4271 …}
+votes: Doctrine\ORM\PersistentCollection {#4286 …}
+reports: Doctrine\ORM\PersistentCollection {#4288 …}
+favourites: Doctrine\ORM\PersistentCollection {#4290 …}
+notifications: Doctrine\ORM\PersistentCollection {#4292 …}
-id: 109230
-bodyTs: "'/build/building/multi-stage/)':21 '/path/somecommand':66 '/some/file':58 '/some/other/file':59 'also':89 'applic':112 'bare':107 'base':31 'bit':2 'btw':80 'build':17,49,57,70,75 'cmd':65 'copi':34,55 'creativ':84 'depend':121 'distroless':98 'docker':13 'docs.docker.com':20 'docs.docker.com/build/building/multi-stage/)':19 'document':18 'easier':79 'exact':24 'execut':117 'goal':101 'imag':32,41,72,76,99,115 'late':3 'like':43 'look':11,95 'might':6,90 'minimalimag':53 'minimum':108 'multi':15 'multi-stag':14 'new':71 'newer':74,77 'one':87 'quit':83 'run':110 'runtim':120 'simplifi':69 'somebodi':64 'someimag':46 'someothertag':54 'sometag':47 'someth':42 'stage':16 'start':28 'stuff':35,51 'tag':78 'user':63 'want':7,91"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.sdf.org/comment/5312898"
+editedAt: DateTimeImmutable @1699745034 {#4284
date: 2023-11-12 00:23:54.0 +01:00
}
+createdAt: DateTimeImmutable @1699654537 {#4280
date: 2023-11-10 23:15:37.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
Now you’ve confused me a little bit – is there any difference between a scratch and a distroless image? Aren’t they (technically) the same thing?\n
\n
That aside, thank you for your input and compliment.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699656945 {#4304
date: 2023-11-10 23:55:45.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
"@lidstah@lemmy.sdf.org"
]
+children: Doctrine\ORM\PersistentCollection {#4301 …}
+nested: Doctrine\ORM\PersistentCollection {#4298 …}
+votes: Doctrine\ORM\PersistentCollection {#4296 …}
+reports: Doctrine\ORM\PersistentCollection {#4310 …}
+favourites: Doctrine\ORM\PersistentCollection {#4312 …}
+notifications: Doctrine\ORM\PersistentCollection {#4314 …}
-id: 109337
-bodyTs: "'aren':20 'asid':28 'bit':8 'compliment':35 'confus':4 'differ':12 'distroless':18 'imag':19 'input':33 'littl':7 'scratch':15 'technic':23 'thank':29 'thing':26 've':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5219746"
+editedAt: null
+createdAt: DateTimeImmutable @1699656945 {#4307
date: 2023-11-10 23:55:45.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: """
You’re welcome! scratch and distroless are indeed basically the same thing, scratch being the ‘official’ docker minimal image while distroless is from google - as I’m more a Kubernetes user (at home and at work) than a Docker user, I tend to think about distroless first :) - my apologies if my comment was a bit confusing on this matter.\n
\n
By the way, have fun experimenting with docker (or podman), it’s interesting, widely used both in selfhosting and professional environments, and it’s a great learning experience - and a good way to pass time during these long winter evenings :)
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699696091 {#4326
date: 2023-11-11 10:48:11.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
"@lidstah@lemmy.sdf.org"
]
+children: Doctrine\ORM\PersistentCollection {#4323 …}
+nested: Doctrine\ORM\PersistentCollection {#4320 …}
+votes: Doctrine\ORM\PersistentCollection {#4318 …}
+reports: Doctrine\ORM\PersistentCollection {#4332 …}
+favourites: Doctrine\ORM\PersistentCollection {#4334 …}
+notifications: Doctrine\ORM\PersistentCollection {#4336 …}
-id: 110583
-bodyTs: "'apolog':49 'basic':9 'bit':55 'comment':52 'confus':56 'distroless':6,21,46 'docker':17,39,67 'environ':80 'even':99 'experi':65,87 'first':47 'fun':64 'good':90 'googl':24 'great':85 'home':33 'imag':19 'inde':8 'interest':72 'kubernet':30 'learn':86 'long':97 'm':27 'matter':59 'minim':18 'offici':16 'pass':93 'podman':69 'profession':79 're':2 'scratch':4,13 'selfhost':77 'tend':42 'thing':12 'think':44 'time':94 'use':74 'user':31,40 'way':62,91 'welcom':3 'wide':73 'winter':98 'work':36"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.sdf.org/comment/5328239"
+editedAt: null
+createdAt: DateTimeImmutable @1699696091 {#4329
date: 2023-11-11 10:48:11.0 +01:00
}
}
+root: App\Entity\EntryComment {#4075}
+body: "Oh, I see. Thanks for clarifying. And I’ve got to admit that “dockerizing” everything is a fun process indeed. :P"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699704125 {#4348
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@dallen@programming.dev"
"@lidstah@lemmy.sdf.org"
]
+children: Doctrine\ORM\PersistentCollection {#4345 …}
+nested: Doctrine\ORM\PersistentCollection {#4342 …}
+votes: Doctrine\ORM\PersistentCollection {#4340 …}
+reports: Doctrine\ORM\PersistentCollection {#4354 …}
+favourites: Doctrine\ORM\PersistentCollection {#4356 …}
+notifications: Doctrine\ORM\PersistentCollection {#4358 …}
-id: 110861
-bodyTs: "'admit':12 'clarifi':6 'docker':14 'everyth':15 'fun':18 'got':10 'inde':20 'oh':1 'p':21 'process':19 'see':3 'thank':4 've':9"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5231906"
+editedAt: null
+createdAt: DateTimeImmutable @1699704125 {#4351
date: 2023-11-11 13:02:05.0 +01:00
}
} |
|
Show voter details
|
| 37 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
| 38 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4227
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4142 …}
+root: App\Entity\EntryComment {#4142 …}
+body: "Eh…just trying to learn some new things regarding common “dockerization”-related things, and improving its security."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699468143 {#4228
date: 2023-11-08 19:29:03.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@velox_vulnus@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4224 …}
+nested: Doctrine\ORM\PersistentCollection {#4220 …}
+votes: Doctrine\ORM\PersistentCollection {#4218 …}
+reports: Doctrine\ORM\PersistentCollection {#4233 …}
+favourites: Doctrine\ORM\PersistentCollection {#4235 …}
+notifications: Doctrine\ORM\PersistentCollection {#4237 …}
-id: 102322
-bodyTs: "'common':10 'docker':11 'eh':1 'improv':15 'learn':5 'new':7 'regard':9 'relat':12 'secur':17 'thing':8,13 'tri':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5162057"
+editedAt: null
+createdAt: DateTimeImmutable @1699468143 {#4231
date: 2023-11-08 19:29:03.0 +01:00
}
} |
|
Show voter details
|
| 39 |
DENIED
|
edit
|
App\Entity\EntryComment {#4227
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4142 …}
+root: App\Entity\EntryComment {#4142 …}
+body: "Eh…just trying to learn some new things regarding common “dockerization”-related things, and improving its security."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699468143 {#4228
date: 2023-11-08 19:29:03.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@velox_vulnus@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4224 …}
+nested: Doctrine\ORM\PersistentCollection {#4220 …}
+votes: Doctrine\ORM\PersistentCollection {#4218 …}
+reports: Doctrine\ORM\PersistentCollection {#4233 …}
+favourites: Doctrine\ORM\PersistentCollection {#4235 …}
+notifications: Doctrine\ORM\PersistentCollection {#4237 …}
-id: 102322
-bodyTs: "'common':10 'docker':11 'eh':1 'improv':15 'learn':5 'new':7 'regard':9 'relat':12 'secur':17 'thing':8,13 'tri':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5162057"
+editedAt: null
+createdAt: DateTimeImmutable @1699468143 {#4231
date: 2023-11-08 19:29:03.0 +01:00
}
} |
|
Show voter details
|
| 40 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4227
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1978 …}
+magazine: App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
+slug: "How-bad-terrible-is-this-docker-image-Click-here-to-see"
+title: "How bad/terrible is this docker image? (Click here to see it.)"
+url: "https://hub.docker.com/r/defnotgustavom/nginx"
+body: """
Title. Just wondering if I did something bad/terrible with it. Link is @ title. Check the image tag @ its repo to see how it was built. And before someone asks… the Docker lemmy community is really dead so I had to resort to you guys. Sorry, I guess.\n
\n
And thanks in advance.
"""
+type: "link"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 11
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699704125 {#2418
date: 2023-11-11 13:02:05.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1688 …}
+votes: Doctrine\ORM\PersistentCollection {#1966 …}
+reports: Doctrine\ORM\PersistentCollection {#1965 …}
+favourites: Doctrine\ORM\PersistentCollection {#1368 …}
+notifications: Doctrine\ORM\PersistentCollection {#2426 …}
+badges: Doctrine\ORM\PersistentCollection {#2439 …}
+children: []
-id: 11210
-titleTs: "'bad/terrible':2 'click':7 'docker':5 'imag':6 'see':10"
-bodyTs: "'advanc':51 'ask':29 'bad/terrible':8 'built':25 'check':14 'communiti':33 'dead':36 'docker':31 'guess':47 'guy':44 'imag':16 'lemmi':32 'link':11 'realli':35 'repo':19 'resort':41 'see':21 'someon':28 'someth':7 'sorri':45 'tag':17 'thank':49 'titl':1,13 'wonder':3"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699527266
+visibility: "visible "
+apId: "https://lemmy.world/post/7978644"
+editedAt: null
+createdAt: DateTimeImmutable @1699466266 {#1858
date: 2023-11-08 18:57:46.0 +01:00
}
}
+magazine: App\Entity\Magazine {#264}
+image: null
+parent: App\Entity\EntryComment {#4142 …}
+root: App\Entity\EntryComment {#4142 …}
+body: "Eh…just trying to learn some new things regarding common “dockerization”-related things, and improving its security."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699468143 {#4228
date: 2023-11-08 19:29:03.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@GustavoM@lemmy.world"
"@velox_vulnus@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4224 …}
+nested: Doctrine\ORM\PersistentCollection {#4220 …}
+votes: Doctrine\ORM\PersistentCollection {#4218 …}
+reports: Doctrine\ORM\PersistentCollection {#4233 …}
+favourites: Doctrine\ORM\PersistentCollection {#4235 …}
+notifications: Doctrine\ORM\PersistentCollection {#4237 …}
-id: 102322
-bodyTs: "'common':10 'docker':11 'eh':1 'improv':15 'learn':5 'new':7 'regard':9 'relat':12 'secur':17 'thing':8,13 'tri':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/5162057"
+editedAt: null
+createdAt: DateTimeImmutable @1699468143 {#4231
date: 2023-11-08 19:29:03.0 +01:00
}
} |
|
Show voter details
|
| 41 |
DENIED
|
edit
|
App\Entity\Magazine {#264
+icon: Proxies\__CG__\App\Entity\Image {#245 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#274
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#236 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
+entries: Doctrine\ORM\PersistentCollection {#179 …}
+posts: Doctrine\ORM\PersistentCollection {#137 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
+bans: Doctrine\ORM\PersistentCollection {#116 …}
+reports: Doctrine\ORM\PersistentCollection {#102 …}
+badges: Doctrine\ORM\PersistentCollection {#80 …}
+logs: Doctrine\ORM\PersistentCollection {#70 …}
+awards: Doctrine\ORM\PersistentCollection {#1360 …}
+categories: Doctrine\ORM\PersistentCollection {#1792 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#268
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#270
date: 2023-11-02 13:51:08.0 +01:00
}
} |
|
Show voter details
|