Redirect 302 redirect from GET @entry_comment_create (879ea7)

Security

Token

There is no security token.

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point App\Security\KbinAuthenticator
user_checker App\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "two_factor"
  "remember_me"
  "App\Security\KbinAuthenticator"
  "App\Security\FacebookAuthenticator"
  "App\Security\GoogleAuthenticator"
  "App\Security\GithubAuthenticator"
  "App\Security\KeycloakAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#723
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
  -logger: Monolog\Logger {#783 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#706
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#1017 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#783 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#705 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#780 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#703 …}
}
4.89 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#584
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#595 …}
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#582
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#842 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#581 …}
}
0.05 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#579
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#937 …}
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#786
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#841 …}
  -csrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#1015 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
}
0.00 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
4
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
5
"App\Security\Voter\EntryCommentVoter"
6
"App\Security\Voter\EntryVoter"
7
"App\Security\Voter\MagazineVoter"
8
"App\Security\Voter\MessageThreadVoter"
9
"App\Security\Voter\MessageVoter"
10
"App\Security\Voter\NotificationVoter"
11
"App\Security\Voter\OAuth2UserConsentVoter"
12
"App\Security\Voter\PostCommentVoter"
13
"App\Security\Voter\PostVoter"
14
"App\Security\Voter\UserVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
2 DENIED moderate
App\Entity\Entry {#2419
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "selfhosted@lemmy.world"
    +title: "selfhosted"
    +description: """
      A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
      \n
      Rules:\n
      \n
      - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
      - No spam posting.\n
      - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
      - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
      - No trolling.\n
      \n
      Resources:\n
      \n
      - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
      - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
      - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
      \n
      > Any issues on the community? Report it using the report flag.\n
      \n
      > Questions? DM the mods!
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 222
    +entryCommentCount: 3916
    +postCount: 0
    +postCommentCount: 0
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729582735 {#275
      date: 2024-10-22 09:38:55.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 120
    +apId: "selfhosted@lemmy.world"
    +apProfileId: "https://lemmy.world/c/selfhosted"
    +apPublicUrl: "https://lemmy.world/c/selfhosted"
    +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "selfhosted"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1703473826 {#269
      date: 2023-12-25 04:10:26.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1703473826 {#271
      date: 2023-12-25 04:10:26.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
  +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
  +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
  +url: null
  +body: """
    Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
    \n
    On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
    \n
    Root is 0, www-data is 33, and so on.\n
    \n
    On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
    \n
    Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 17
  +favouriteCount: 42
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1711314477 {#2414
    date: 2024-03-24 22:07:57.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1884 …}
  +votes: Doctrine\ORM\PersistentCollection {#1973 …}
  +reports: Doctrine\ORM\PersistentCollection {#1959 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
  +badges: Doctrine\ORM\PersistentCollection {#2440 …}
  +children: []
  -id: 26687
  -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
  -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1704278621
  +visibility: "visible             "
  +apId: "https://feddit.it/post/4513735"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704192221 {#1793
    date: 2024-01-02 11:43:41.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
3 DENIED edit
App\Entity\Entry {#2419
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "selfhosted@lemmy.world"
    +title: "selfhosted"
    +description: """
      A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
      \n
      Rules:\n
      \n
      - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
      - No spam posting.\n
      - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
      - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
      - No trolling.\n
      \n
      Resources:\n
      \n
      - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
      - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
      - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
      \n
      > Any issues on the community? Report it using the report flag.\n
      \n
      > Questions? DM the mods!
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 222
    +entryCommentCount: 3916
    +postCount: 0
    +postCommentCount: 0
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729582735 {#275
      date: 2024-10-22 09:38:55.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 120
    +apId: "selfhosted@lemmy.world"
    +apProfileId: "https://lemmy.world/c/selfhosted"
    +apPublicUrl: "https://lemmy.world/c/selfhosted"
    +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "selfhosted"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1703473826 {#269
      date: 2023-12-25 04:10:26.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1703473826 {#271
      date: 2023-12-25 04:10:26.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
  +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
  +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
  +url: null
  +body: """
    Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
    \n
    On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
    \n
    Root is 0, www-data is 33, and so on.\n
    \n
    On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
    \n
    Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 17
  +favouriteCount: 42
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1711314477 {#2414
    date: 2024-03-24 22:07:57.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1884 …}
  +votes: Doctrine\ORM\PersistentCollection {#1973 …}
  +reports: Doctrine\ORM\PersistentCollection {#1959 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
  +badges: Doctrine\ORM\PersistentCollection {#2440 …}
  +children: []
  -id: 26687
  -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
  -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1704278621
  +visibility: "visible             "
  +apId: "https://feddit.it/post/4513735"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704192221 {#1793
    date: 2024-01-02 11:43:41.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
4 DENIED moderate
App\Entity\Entry {#2419
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "selfhosted@lemmy.world"
    +title: "selfhosted"
    +description: """
      A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
      \n
      Rules:\n
      \n
      - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
      - No spam posting.\n
      - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
      - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
      - No trolling.\n
      \n
      Resources:\n
      \n
      - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
      - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
      - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
      \n
      > Any issues on the community? Report it using the report flag.\n
      \n
      > Questions? DM the mods!
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 222
    +entryCommentCount: 3916
    +postCount: 0
    +postCommentCount: 0
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729582735 {#275
      date: 2024-10-22 09:38:55.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 120
    +apId: "selfhosted@lemmy.world"
    +apProfileId: "https://lemmy.world/c/selfhosted"
    +apPublicUrl: "https://lemmy.world/c/selfhosted"
    +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "selfhosted"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1703473826 {#269
      date: 2023-12-25 04:10:26.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1703473826 {#271
      date: 2023-12-25 04:10:26.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
  +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
  +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
  +url: null
  +body: """
    Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
    \n
    On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
    \n
    Root is 0, www-data is 33, and so on.\n
    \n
    On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
    \n
    Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 17
  +favouriteCount: 42
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1711314477 {#2414
    date: 2024-03-24 22:07:57.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1884 …}
  +votes: Doctrine\ORM\PersistentCollection {#1973 …}
  +reports: Doctrine\ORM\PersistentCollection {#1959 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
  +badges: Doctrine\ORM\PersistentCollection {#2440 …}
  +children: []
  -id: 26687
  -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
  -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1704278621
  +visibility: "visible             "
  +apId: "https://feddit.it/post/4513735"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704192221 {#1793
    date: 2024-01-02 11:43:41.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
5 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
6 DENIED moderate
App\Entity\EntryComment {#4027
  +user: App\Entity\User {#3975 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        > Any issues on the community? Report it using the report flag.\n
        \n
        > Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
    \n
    Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
    \n
    To be even more on the secure side use a different random user ID and group ID for every container.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 10
  +score: 0
  +lastActive: DateTime @1711314477 {#4036
    date: 2024-03-24 22:07:57.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4025 …}
  +nested: Doctrine\ORM\PersistentCollection {#4023 …}
  +votes: Doctrine\ORM\PersistentCollection {#4021 …}
  +reports: Doctrine\ORM\PersistentCollection {#4019 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
  -id: 273197
  -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7009385"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704197365 {#3972
    date: 2024-01-02 13:09:25.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
7 DENIED edit
App\Entity\EntryComment {#4027
  +user: App\Entity\User {#3975 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        > Any issues on the community? Report it using the report flag.\n
        \n
        > Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
    \n
    Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
    \n
    To be even more on the secure side use a different random user ID and group ID for every container.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 10
  +score: 0
  +lastActive: DateTime @1711314477 {#4036
    date: 2024-03-24 22:07:57.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4025 …}
  +nested: Doctrine\ORM\PersistentCollection {#4023 …}
  +votes: Doctrine\ORM\PersistentCollection {#4021 …}
  +reports: Doctrine\ORM\PersistentCollection {#4019 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
  -id: 273197
  -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7009385"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704197365 {#3972
    date: 2024-01-02 13:09:25.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
8 DENIED moderate
App\Entity\EntryComment {#4027
  +user: App\Entity\User {#3975 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        > Any issues on the community? Report it using the report flag.\n
        \n
        > Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
    \n
    Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
    \n
    To be even more on the secure side use a different random user ID and group ID for every container.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 10
  +score: 0
  +lastActive: DateTime @1711314477 {#4036
    date: 2024-03-24 22:07:57.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4025 …}
  +nested: Doctrine\ORM\PersistentCollection {#4023 …}
  +votes: Doctrine\ORM\PersistentCollection {#4021 …}
  +reports: Doctrine\ORM\PersistentCollection {#4019 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
  -id: 273197
  -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7009385"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704197365 {#3972
    date: 2024-01-02 13:09:25.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
9 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
10 DENIED moderate
App\Entity\EntryComment {#4187
  +user: Proxies\__CG__\App\Entity\User {#4188 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        > Any issues on the community? Report it using the report flag.\n
        \n
        > Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4027
    +user: App\Entity\User {#3975 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
      \n
      Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
      \n
      To be even more on the secure side use a different random user ID and group ID for every container.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 10
    +score: 0
    +lastActive: DateTime @1711314477 {#4036
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4025 …}
    +nested: Doctrine\ORM\PersistentCollection {#4023 …}
    +votes: Doctrine\ORM\PersistentCollection {#4021 …}
    +reports: Doctrine\ORM\PersistentCollection {#4019 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
    -id: 273197
    -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7009385"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704197365 {#3972
      date: 2024-01-02 13:09:25.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4027}
  +body: """
    This is really dependent on whether or not you want to interact with mounted volumes. In a production setting, containers are ephemeral and should essentially never be touched. Data is abstracted into stores like a database or object storage. If you’re interacting with mounted volumes, it’s usually through a different layer of abstraction like Kibana reading Elastic indices. In a self-hosted setting, you might be sidestepping dependency hell on a local system by containerizing. Data is often tightly coupled to the local filesystem. It is much easier to match the container user to the desired local user to avoid constant `sudo` calls.\n
    \n
    I had to check the community before responding. Since we’re talking self-hosted, your advice is largely overkill.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 3
  +score: 0
  +lastActive: DateTime @1704292314 {#4185
    date: 2024-01-03 15:31:54.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4189 …}
  +nested: Doctrine\ORM\PersistentCollection {#4191 …}
  +votes: Doctrine\ORM\PersistentCollection {#4193 …}
  +reports: Doctrine\ORM\PersistentCollection {#4195 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4197 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4199 …}
  -id: 276519
  -bodyTs: "'abstract':31,55 'advic':123 'avoid':103 'call':106 'check':110 'communiti':112 'constant':104 'contain':20,95 'container':78 'coupl':83 'data':29,79 'databas':36 'depend':4,71 'desir':99 'differ':52 'easier':91 'elast':59 'ephemer':22 'essenti':25 'filesystem':87 'hell':72 'host':65,121 'indic':60 'interact':12,43 'kibana':57 'larg':125 'layer':53 'like':34,56 'local':75,86,100 'match':93 'might':68 'mount':14,45 'much':90 'never':26 'object':38 'often':81 'overkil':126 'product':18 're':42,117 'read':58 'realli':3 'respond':114 'self':64,120 'self-host':63,119 'set':19,66 'sidestep':70 'sinc':115 'storag':39 'store':33 'sudo':105 'system':76 'talk':118 'tight':82 'touch':28 'user':96,101 'usual':49 'volum':15,46 'want':10 'whether':6"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6105432"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704292314 {#4186
    date: 2024-01-03 15:31:54.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
11 DENIED edit
App\Entity\EntryComment {#4187
  +user: Proxies\__CG__\App\Entity\User {#4188 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        > Any issues on the community? Report it using the report flag.\n
        \n
        > Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4027
    +user: App\Entity\User {#3975 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
      \n
      Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
      \n
      To be even more on the secure side use a different random user ID and group ID for every container.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 10
    +score: 0
    +lastActive: DateTime @1711314477 {#4036
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4025 …}
    +nested: Doctrine\ORM\PersistentCollection {#4023 …}
    +votes: Doctrine\ORM\PersistentCollection {#4021 …}
    +reports: Doctrine\ORM\PersistentCollection {#4019 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
    -id: 273197
    -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7009385"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704197365 {#3972
      date: 2024-01-02 13:09:25.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4027}
  +body: """
    This is really dependent on whether or not you want to interact with mounted volumes. In a production setting, containers are ephemeral and should essentially never be touched. Data is abstracted into stores like a database or object storage. If you’re interacting with mounted volumes, it’s usually through a different layer of abstraction like Kibana reading Elastic indices. In a self-hosted setting, you might be sidestepping dependency hell on a local system by containerizing. Data is often tightly coupled to the local filesystem. It is much easier to match the container user to the desired local user to avoid constant `sudo` calls.\n
    \n
    I had to check the community before responding. Since we’re talking self-hosted, your advice is largely overkill.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 3
  +score: 0
  +lastActive: DateTime @1704292314 {#4185
    date: 2024-01-03 15:31:54.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4189 …}
  +nested: Doctrine\ORM\PersistentCollection {#4191 …}
  +votes: Doctrine\ORM\PersistentCollection {#4193 …}
  +reports: Doctrine\ORM\PersistentCollection {#4195 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4197 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4199 …}
  -id: 276519
  -bodyTs: "'abstract':31,55 'advic':123 'avoid':103 'call':106 'check':110 'communiti':112 'constant':104 'contain':20,95 'container':78 'coupl':83 'data':29,79 'databas':36 'depend':4,71 'desir':99 'differ':52 'easier':91 'elast':59 'ephemer':22 'essenti':25 'filesystem':87 'hell':72 'host':65,121 'indic':60 'interact':12,43 'kibana':57 'larg':125 'layer':53 'like':34,56 'local':75,86,100 'match':93 'might':68 'mount':14,45 'much':90 'never':26 'object':38 'often':81 'overkil':126 'product':18 're':42,117 'read':58 'realli':3 'respond':114 'self':64,120 'self-host':63,119 'set':19,66 'sidestep':70 'sinc':115 'storag':39 'store':33 'sudo':105 'system':76 'talk':118 'tight':82 'touch':28 'user':96,101 'usual':49 'volum':15,46 'want':10 'whether':6"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6105432"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704292314 {#4186
    date: 2024-01-03 15:31:54.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
12 DENIED moderate
App\Entity\EntryComment {#4187
  +user: Proxies\__CG__\App\Entity\User {#4188 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        > Any issues on the community? Report it using the report flag.\n
        \n
        > Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4027
    +user: App\Entity\User {#3975 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
      \n
      Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
      \n
      To be even more on the secure side use a different random user ID and group ID for every container.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 10
    +score: 0
    +lastActive: DateTime @1711314477 {#4036
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4025 …}
    +nested: Doctrine\ORM\PersistentCollection {#4023 …}
    +votes: Doctrine\ORM\PersistentCollection {#4021 …}
    +reports: Doctrine\ORM\PersistentCollection {#4019 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
    -id: 273197
    -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7009385"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704197365 {#3972
      date: 2024-01-02 13:09:25.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4027}
  +body: """
    This is really dependent on whether or not you want to interact with mounted volumes. In a production setting, containers are ephemeral and should essentially never be touched. Data is abstracted into stores like a database or object storage. If you’re interacting with mounted volumes, it’s usually through a different layer of abstraction like Kibana reading Elastic indices. In a self-hosted setting, you might be sidestepping dependency hell on a local system by containerizing. Data is often tightly coupled to the local filesystem. It is much easier to match the container user to the desired local user to avoid constant `sudo` calls.\n
    \n
    I had to check the community before responding. Since we’re talking self-hosted, your advice is largely overkill.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 3
  +score: 0
  +lastActive: DateTime @1704292314 {#4185
    date: 2024-01-03 15:31:54.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4189 …}
  +nested: Doctrine\ORM\PersistentCollection {#4191 …}
  +votes: Doctrine\ORM\PersistentCollection {#4193 …}
  +reports: Doctrine\ORM\PersistentCollection {#4195 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4197 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4199 …}
  -id: 276519
  -bodyTs: "'abstract':31,55 'advic':123 'avoid':103 'call':106 'check':110 'communiti':112 'constant':104 'contain':20,95 'container':78 'coupl':83 'data':29,79 'databas':36 'depend':4,71 'desir':99 'differ':52 'easier':91 'elast':59 'ephemer':22 'essenti':25 'filesystem':87 'hell':72 'host':65,121 'indic':60 'interact':12,43 'kibana':57 'larg':125 'layer':53 'like':34,56 'local':75,86,100 'match':93 'might':68 'mount':14,45 'much':90 'never':26 'object':38 'often':81 'overkil':126 'product':18 're':42,117 'read':58 'realli':3 'respond':114 'self':64,120 'self-host':63,119 'set':19,66 'sidestep':70 'sinc':115 'storag':39 'store':33 'sudo':105 'system':76 'talk':118 'tight':82 'touch':28 'user':96,101 'usual':49 'volum':15,46 'want':10 'whether':6"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6105432"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704292314 {#4186
    date: 2024-01-03 15:31:54.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
13 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
14 DENIED moderate
App\Entity\EntryComment {#4274
  +user: App\Entity\User {#3975 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        > Any issues on the community? Report it using the report flag.\n
        \n
        > Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4187
    +user: Proxies\__CG__\App\Entity\User {#4188 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4027
      +user: App\Entity\User {#3975 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
        \n
        Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
        \n
        To be even more on the secure side use a different random user ID and group ID for every container.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 10
      +score: 0
      +lastActive: DateTime @1711314477 {#4036
        date: 2024-03-24 22:07:57.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Moonrise2473@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4025 …}
      +nested: Doctrine\ORM\PersistentCollection {#4023 …}
      +votes: Doctrine\ORM\PersistentCollection {#4021 …}
      +reports: Doctrine\ORM\PersistentCollection {#4019 …}
      +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
      +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
      -id: 273197
      -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7009385"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704197365 {#3972
        date: 2024-01-02 13:09:25.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4027}
    +body: """
      This is really dependent on whether or not you want to interact with mounted volumes. In a production setting, containers are ephemeral and should essentially never be touched. Data is abstracted into stores like a database or object storage. If you’re interacting with mounted volumes, it’s usually through a different layer of abstraction like Kibana reading Elastic indices. In a self-hosted setting, you might be sidestepping dependency hell on a local system by containerizing. Data is often tightly coupled to the local filesystem. It is much easier to match the container user to the desired local user to avoid constant `sudo` calls.\n
      \n
      I had to check the community before responding. Since we’re talking self-hosted, your advice is largely overkill.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1704292314 {#4185
      date: 2024-01-03 15:31:54.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Dirk@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4189 …}
    +nested: Doctrine\ORM\PersistentCollection {#4191 …}
    +votes: Doctrine\ORM\PersistentCollection {#4193 …}
    +reports: Doctrine\ORM\PersistentCollection {#4195 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4197 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4199 …}
    -id: 276519
    -bodyTs: "'abstract':31,55 'advic':123 'avoid':103 'call':106 'check':110 'communiti':112 'constant':104 'contain':20,95 'container':78 'coupl':83 'data':29,79 'databas':36 'depend':4,71 'desir':99 'differ':52 'easier':91 'elast':59 'ephemer':22 'essenti':25 'filesystem':87 'hell':72 'host':65,121 'indic':60 'interact':12,43 'kibana':57 'larg':125 'layer':53 'like':34,56 'local':75,86,100 'match':93 'might':68 'mount':14,45 'much':90 'never':26 'object':38 'often':81 'overkil':126 'product':18 're':42,117 'read':58 'realli':3 'respond':114 'self':64,120 'self-host':63,119 'set':19,66 'sidestep':70 'sinc':115 'storag':39 'store':33 'sudo':105 'system':76 'talk':118 'tight':82 'touch':28 'user':96,101 'usual':49 'volum':15,46 'want':10 'whether':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6105432"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704292314 {#4186
      date: 2024-01-03 15:31:54.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4027}
  +body: """
    > This is really dependent on […]\n
    \n
    … basically anything. Yes. You will always find yourself in problems where the best practice isn’t the best solution for.\n
    \n
    In your described use case an option would be having the application inside the container running with `10000:10001` but writing the data into another directory that is configured to use `1000:1001` (or whatever the user is you want to access the data with from your host) and just mount the volume there. This takes a bit more configuration effort than just running the application with `1000:1001` … but still :)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704307469 {#4272
    date: 2024-01-03 19:44:29.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
    "@thesmokingman@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4275 …}
  +nested: Doctrine\ORM\PersistentCollection {#4277 …}
  +votes: Doctrine\ORM\PersistentCollection {#4279 …}
  +reports: Doctrine\ORM\PersistentCollection {#4281 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4283 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4285 …}
  -id: 277209
  -bodyTs: "'1000':57,93 '10000':43 '10001':44 '1001':58,94 'access':67 'alway':11 'anoth':50 'anyth':7 'applic':37,91 'basic':6 'best':18,23 'bit':83 'case':30 'configur':54,85 'contain':40 'data':48,69 'depend':4 'describ':28 'directori':51 'effort':86 'find':12 'host':73 'insid':38 'isn':20 'mount':76 'option':32 'practic':19 'problem':15 'realli':3 'run':41,89 'solut':24 'still':96 'take':81 'use':29,56 'user':62 'volum':78 'want':65 'whatev':60 'would':33 'write':46 'yes':8"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7048703"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704307469 {#4273
    date: 2024-01-03 19:44:29.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
15 DENIED edit
App\Entity\EntryComment {#4274
  +user: App\Entity\User {#3975 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        > Any issues on the community? Report it using the report flag.\n
        \n
        > Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4187
    +user: Proxies\__CG__\App\Entity\User {#4188 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4027
      +user: App\Entity\User {#3975 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
        \n
        Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
        \n
        To be even more on the secure side use a different random user ID and group ID for every container.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 10
      +score: 0
      +lastActive: DateTime @1711314477 {#4036
        date: 2024-03-24 22:07:57.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Moonrise2473@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4025 …}
      +nested: Doctrine\ORM\PersistentCollection {#4023 …}
      +votes: Doctrine\ORM\PersistentCollection {#4021 …}
      +reports: Doctrine\ORM\PersistentCollection {#4019 …}
      +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
      +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
      -id: 273197
      -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7009385"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704197365 {#3972
        date: 2024-01-02 13:09:25.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4027}
    +body: """
      This is really dependent on whether or not you want to interact with mounted volumes. In a production setting, containers are ephemeral and should essentially never be touched. Data is abstracted into stores like a database or object storage. If you’re interacting with mounted volumes, it’s usually through a different layer of abstraction like Kibana reading Elastic indices. In a self-hosted setting, you might be sidestepping dependency hell on a local system by containerizing. Data is often tightly coupled to the local filesystem. It is much easier to match the container user to the desired local user to avoid constant `sudo` calls.\n
      \n
      I had to check the community before responding. Since we’re talking self-hosted, your advice is largely overkill.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1704292314 {#4185
      date: 2024-01-03 15:31:54.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Dirk@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4189 …}
    +nested: Doctrine\ORM\PersistentCollection {#4191 …}
    +votes: Doctrine\ORM\PersistentCollection {#4193 …}
    +reports: Doctrine\ORM\PersistentCollection {#4195 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4197 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4199 …}
    -id: 276519
    -bodyTs: "'abstract':31,55 'advic':123 'avoid':103 'call':106 'check':110 'communiti':112 'constant':104 'contain':20,95 'container':78 'coupl':83 'data':29,79 'databas':36 'depend':4,71 'desir':99 'differ':52 'easier':91 'elast':59 'ephemer':22 'essenti':25 'filesystem':87 'hell':72 'host':65,121 'indic':60 'interact':12,43 'kibana':57 'larg':125 'layer':53 'like':34,56 'local':75,86,100 'match':93 'might':68 'mount':14,45 'much':90 'never':26 'object':38 'often':81 'overkil':126 'product':18 're':42,117 'read':58 'realli':3 'respond':114 'self':64,120 'self-host':63,119 'set':19,66 'sidestep':70 'sinc':115 'storag':39 'store':33 'sudo':105 'system':76 'talk':118 'tight':82 'touch':28 'user':96,101 'usual':49 'volum':15,46 'want':10 'whether':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6105432"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704292314 {#4186
      date: 2024-01-03 15:31:54.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4027}
  +body: """
    > This is really dependent on […]\n
    \n
    … basically anything. Yes. You will always find yourself in problems where the best practice isn’t the best solution for.\n
    \n
    In your described use case an option would be having the application inside the container running with `10000:10001` but writing the data into another directory that is configured to use `1000:1001` (or whatever the user is you want to access the data with from your host) and just mount the volume there. This takes a bit more configuration effort than just running the application with `1000:1001` … but still :)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704307469 {#4272
    date: 2024-01-03 19:44:29.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
    "@thesmokingman@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4275 …}
  +nested: Doctrine\ORM\PersistentCollection {#4277 …}
  +votes: Doctrine\ORM\PersistentCollection {#4279 …}
  +reports: Doctrine\ORM\PersistentCollection {#4281 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4283 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4285 …}
  -id: 277209
  -bodyTs: "'1000':57,93 '10000':43 '10001':44 '1001':58,94 'access':67 'alway':11 'anoth':50 'anyth':7 'applic':37,91 'basic':6 'best':18,23 'bit':83 'case':30 'configur':54,85 'contain':40 'data':48,69 'depend':4 'describ':28 'directori':51 'effort':86 'find':12 'host':73 'insid':38 'isn':20 'mount':76 'option':32 'practic':19 'problem':15 'realli':3 'run':41,89 'solut':24 'still':96 'take':81 'use':29,56 'user':62 'volum':78 'want':65 'whatev':60 'would':33 'write':46 'yes':8"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7048703"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704307469 {#4273
    date: 2024-01-03 19:44:29.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
16 DENIED moderate
App\Entity\EntryComment {#4274
  +user: App\Entity\User {#3975 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        > Any issues on the community? Report it using the report flag.\n
        \n
        > Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4187
    +user: Proxies\__CG__\App\Entity\User {#4188 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4027
      +user: App\Entity\User {#3975 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
        \n
        Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
        \n
        To be even more on the secure side use a different random user ID and group ID for every container.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 10
      +score: 0
      +lastActive: DateTime @1711314477 {#4036
        date: 2024-03-24 22:07:57.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Moonrise2473@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4025 …}
      +nested: Doctrine\ORM\PersistentCollection {#4023 …}
      +votes: Doctrine\ORM\PersistentCollection {#4021 …}
      +reports: Doctrine\ORM\PersistentCollection {#4019 …}
      +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
      +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
      -id: 273197
      -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7009385"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704197365 {#3972
        date: 2024-01-02 13:09:25.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4027}
    +body: """
      This is really dependent on whether or not you want to interact with mounted volumes. In a production setting, containers are ephemeral and should essentially never be touched. Data is abstracted into stores like a database or object storage. If you’re interacting with mounted volumes, it’s usually through a different layer of abstraction like Kibana reading Elastic indices. In a self-hosted setting, you might be sidestepping dependency hell on a local system by containerizing. Data is often tightly coupled to the local filesystem. It is much easier to match the container user to the desired local user to avoid constant `sudo` calls.\n
      \n
      I had to check the community before responding. Since we’re talking self-hosted, your advice is largely overkill.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1704292314 {#4185
      date: 2024-01-03 15:31:54.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Dirk@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4189 …}
    +nested: Doctrine\ORM\PersistentCollection {#4191 …}
    +votes: Doctrine\ORM\PersistentCollection {#4193 …}
    +reports: Doctrine\ORM\PersistentCollection {#4195 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4197 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4199 …}
    -id: 276519
    -bodyTs: "'abstract':31,55 'advic':123 'avoid':103 'call':106 'check':110 'communiti':112 'constant':104 'contain':20,95 'container':78 'coupl':83 'data':29,79 'databas':36 'depend':4,71 'desir':99 'differ':52 'easier':91 'elast':59 'ephemer':22 'essenti':25 'filesystem':87 'hell':72 'host':65,121 'indic':60 'interact':12,43 'kibana':57 'larg':125 'layer':53 'like':34,56 'local':75,86,100 'match':93 'might':68 'mount':14,45 'much':90 'never':26 'object':38 'often':81 'overkil':126 'product':18 're':42,117 'read':58 'realli':3 'respond':114 'self':64,120 'self-host':63,119 'set':19,66 'sidestep':70 'sinc':115 'storag':39 'store':33 'sudo':105 'system':76 'talk':118 'tight':82 'touch':28 'user':96,101 'usual':49 'volum':15,46 'want':10 'whether':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/6105432"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704292314 {#4186
      date: 2024-01-03 15:31:54.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4027}
  +body: """
    > This is really dependent on […]\n
    \n
    … basically anything. Yes. You will always find yourself in problems where the best practice isn’t the best solution for.\n
    \n
    In your described use case an option would be having the application inside the container running with `10000:10001` but writing the data into another directory that is configured to use `1000:1001` (or whatever the user is you want to access the data with from your host) and just mount the volume there. This takes a bit more configuration effort than just running the application with `1000:1001` … but still :)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704307469 {#4272
    date: 2024-01-03 19:44:29.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
    "@thesmokingman@programming.dev"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4275 …}
  +nested: Doctrine\ORM\PersistentCollection {#4277 …}
  +votes: Doctrine\ORM\PersistentCollection {#4279 …}
  +reports: Doctrine\ORM\PersistentCollection {#4281 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4283 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4285 …}
  -id: 277209
  -bodyTs: "'1000':57,93 '10000':43 '10001':44 '1001':58,94 'access':67 'alway':11 'anoth':50 'anyth':7 'applic':37,91 'basic':6 'best':18,23 'bit':83 'case':30 'configur':54,85 'contain':40 'data':48,69 'depend':4 'describ':28 'directori':51 'effort':86 'find':12 'host':73 'insid':38 'isn':20 'mount':76 'option':32 'practic':19 'problem':15 'realli':3 'run':41,89 'solut':24 'still':96 'take':81 'use':29,56 'user':62 'volum':78 'want':65 'whatev':60 'would':33 'write':46 'yes':8"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7048703"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704307469 {#4273
    date: 2024-01-03 19:44:29.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
17 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
18 DENIED moderate
App\Entity\EntryComment {#4203
  +user: Proxies\__CG__\App\Entity\User {#4204 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        > Any issues on the community? Report it using the report flag.\n
        \n
        > Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4027
    +user: App\Entity\User {#3975 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
      \n
      Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
      \n
      To be even more on the secure side use a different random user ID and group ID for every container.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 10
    +score: 0
    +lastActive: DateTime @1711314477 {#4036
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4025 …}
    +nested: Doctrine\ORM\PersistentCollection {#4023 …}
    +votes: Doctrine\ORM\PersistentCollection {#4021 …}
    +reports: Doctrine\ORM\PersistentCollection {#4019 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
    -id: 273197
    -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7009385"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704197365 {#3972
      date: 2024-01-02 13:09:25.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4027}
  +body: "Do I need to actually create the user in advance or can I just choose a string as I see fit?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1704226726 {#4201
    date: 2024-01-02 21:18:46.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4205 …}
  +nested: Doctrine\ORM\PersistentCollection {#4207 …}
  +votes: Doctrine\ORM\PersistentCollection {#4209 …}
  +reports: Doctrine\ORM\PersistentCollection {#4211 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4213 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4215 …}
  -id: 274497
  -bodyTs: "'actual':5 'advanc':10 'choos':15 'creat':6 'fit':21 'need':3 'see':20 'string':17 'user':8"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.dbzer0.com/comment/6358279"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704226726 {#4202
    date: 2024-01-02 21:18:46.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
19 DENIED edit
App\Entity\EntryComment {#4203
  +user: Proxies\__CG__\App\Entity\User {#4204 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        > Any issues on the community? Report it using the report flag.\n
        \n
        > Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4027
    +user: App\Entity\User {#3975 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
      \n
      Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
      \n
      To be even more on the secure side use a different random user ID and group ID for every container.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 10
    +score: 0
    +lastActive: DateTime @1711314477 {#4036
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4025 …}
    +nested: Doctrine\ORM\PersistentCollection {#4023 …}
    +votes: Doctrine\ORM\PersistentCollection {#4021 …}
    +reports: Doctrine\ORM\PersistentCollection {#4019 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
    -id: 273197
    -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7009385"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704197365 {#3972
      date: 2024-01-02 13:09:25.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4027}
  +body: "Do I need to actually create the user in advance or can I just choose a string as I see fit?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1704226726 {#4201
    date: 2024-01-02 21:18:46.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4205 …}
  +nested: Doctrine\ORM\PersistentCollection {#4207 …}
  +votes: Doctrine\ORM\PersistentCollection {#4209 …}
  +reports: Doctrine\ORM\PersistentCollection {#4211 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4213 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4215 …}
  -id: 274497
  -bodyTs: "'actual':5 'advanc':10 'choos':15 'creat':6 'fit':21 'need':3 'see':20 'string':17 'user':8"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.dbzer0.com/comment/6358279"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704226726 {#4202
    date: 2024-01-02 21:18:46.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
20 DENIED moderate
App\Entity\EntryComment {#4203
  +user: Proxies\__CG__\App\Entity\User {#4204 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        > Any issues on the community? Report it using the report flag.\n
        \n
        > Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4027
    +user: App\Entity\User {#3975 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
      \n
      Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
      \n
      To be even more on the secure side use a different random user ID and group ID for every container.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 10
    +score: 0
    +lastActive: DateTime @1711314477 {#4036
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4025 …}
    +nested: Doctrine\ORM\PersistentCollection {#4023 …}
    +votes: Doctrine\ORM\PersistentCollection {#4021 …}
    +reports: Doctrine\ORM\PersistentCollection {#4019 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
    -id: 273197
    -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7009385"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704197365 {#3972
      date: 2024-01-02 13:09:25.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4027}
  +body: "Do I need to actually create the user in advance or can I just choose a string as I see fit?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1704226726 {#4201
    date: 2024-01-02 21:18:46.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4205 …}
  +nested: Doctrine\ORM\PersistentCollection {#4207 …}
  +votes: Doctrine\ORM\PersistentCollection {#4209 …}
  +reports: Doctrine\ORM\PersistentCollection {#4211 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4213 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4215 …}
  -id: 274497
  -bodyTs: "'actual':5 'advanc':10 'choos':15 'creat':6 'fit':21 'need':3 'see':20 'string':17 'user':8"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.dbzer0.com/comment/6358279"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704226726 {#4202
    date: 2024-01-02 21:18:46.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
21 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
22 DENIED moderate
App\Entity\EntryComment {#4259
  +user: App\Entity\User {#3975 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        > Any issues on the community? Report it using the report flag.\n
        \n
        > Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4203
    +user: Proxies\__CG__\App\Entity\User {#4204 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4027
      +user: App\Entity\User {#3975 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
        \n
        Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
        \n
        To be even more on the secure side use a different random user ID and group ID for every container.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 10
      +score: 0
      +lastActive: DateTime @1711314477 {#4036
        date: 2024-03-24 22:07:57.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Moonrise2473@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4025 …}
      +nested: Doctrine\ORM\PersistentCollection {#4023 …}
      +votes: Doctrine\ORM\PersistentCollection {#4021 …}
      +reports: Doctrine\ORM\PersistentCollection {#4019 …}
      +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
      +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
      -id: 273197
      -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7009385"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704197365 {#3972
        date: 2024-01-02 13:09:25.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4027}
    +body: "Do I need to actually create the user in advance or can I just choose a string as I see fit?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1704226726 {#4201
      date: 2024-01-02 21:18:46.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Dirk@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4205 …}
    +nested: Doctrine\ORM\PersistentCollection {#4207 …}
    +votes: Doctrine\ORM\PersistentCollection {#4209 …}
    +reports: Doctrine\ORM\PersistentCollection {#4211 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4213 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4215 …}
    -id: 274497
    -bodyTs: "'actual':5 'advanc':10 'choos':15 'creat':6 'fit':21 'need':3 'see':20 'string':17 'user':8"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.dbzer0.com/comment/6358279"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704226726 {#4202
      date: 2024-01-02 21:18:46.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4027}
  +body: """
    You don’t need to create the user first. Here’s the simplest I can come up with:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">FROM alpine:latest\n
    </span><span style="color:#323232;">COPY myscript.sh /app/myscript.sh\n
    </span><span style="color:#323232;">USER 10000:10001\n
    </span><span style="color:#323232;">CMD ["sh", "/app/myscript.sh"]\n
    </span>\n
    ```\n
    \n
    This simply runs `/app/myscript.sh` with UID 10000 and GID 10001.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704271015 {#4257
    date: 2024-01-03 09:36:55.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
    "@Appoxo@lemmy.dbzer0.com"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4260 …}
  +nested: Doctrine\ORM\PersistentCollection {#4262 …}
  +votes: Doctrine\ORM\PersistentCollection {#4264 …}
  +reports: Doctrine\ORM\PersistentCollection {#4266 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4268 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4270 …}
  -id: 275935
  -bodyTs: "'/app/myscript.sh':24,30,34 '10000':26,37 '10001':27,40 'alpin':20 'cmd':28 'come':16 'copi':22 'creat':6 'first':9 'gid':39 'latest':21 'myscript.sh':23 'need':4 'run':33 'sh':29 'simplest':13 'simpli':32 'uid':36 'user':8,25"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7035810"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704271015 {#4258
    date: 2024-01-03 09:36:55.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
23 DENIED edit
App\Entity\EntryComment {#4259
  +user: App\Entity\User {#3975 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4203
    +user: Proxies\__CG__\App\Entity\User {#4204 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4027
      +user: App\Entity\User {#3975 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
        \n
        Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
        \n
        To be even more on the secure side use a different random user ID and group ID for every container.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 10
      +score: 0
      +lastActive: DateTime @1711314477 {#4036
        date: 2024-03-24 22:07:57.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Moonrise2473@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4025 …}
      +nested: Doctrine\ORM\PersistentCollection {#4023 …}
      +votes: Doctrine\ORM\PersistentCollection {#4021 …}
      +reports: Doctrine\ORM\PersistentCollection {#4019 …}
      +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
      +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
      -id: 273197
      -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7009385"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704197365 {#3972
        date: 2024-01-02 13:09:25.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4027}
    +body: "Do I need to actually create the user in advance or can I just choose a string as I see fit?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1704226726 {#4201
      date: 2024-01-02 21:18:46.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Dirk@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4205 …}
    +nested: Doctrine\ORM\PersistentCollection {#4207 …}
    +votes: Doctrine\ORM\PersistentCollection {#4209 …}
    +reports: Doctrine\ORM\PersistentCollection {#4211 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4213 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4215 …}
    -id: 274497
    -bodyTs: "'actual':5 'advanc':10 'choos':15 'creat':6 'fit':21 'need':3 'see':20 'string':17 'user':8"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.dbzer0.com/comment/6358279"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704226726 {#4202
      date: 2024-01-02 21:18:46.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4027}
  +body: """
    You don’t need to create the user first. Here’s the simplest I can come up with:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">FROM alpine:latest\n
    </span><span style="color:#323232;">COPY myscript.sh /app/myscript.sh\n
    </span><span style="color:#323232;">USER 10000:10001\n
    </span><span style="color:#323232;">CMD ["sh", "/app/myscript.sh"]\n
    </span>\n
    ```\n
    \n
    This simply runs `/app/myscript.sh` with UID 10000 and GID 10001.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704271015 {#4257
    date: 2024-01-03 09:36:55.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
    "@Appoxo@lemmy.dbzer0.com"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4260 …}
  +nested: Doctrine\ORM\PersistentCollection {#4262 …}
  +votes: Doctrine\ORM\PersistentCollection {#4264 …}
  +reports: Doctrine\ORM\PersistentCollection {#4266 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4268 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4270 …}
  -id: 275935
  -bodyTs: "'/app/myscript.sh':24,30,34 '10000':26,37 '10001':27,40 'alpin':20 'cmd':28 'come':16 'copi':22 'creat':6 'first':9 'gid':39 'latest':21 'myscript.sh':23 'need':4 'run':33 'sh':29 'simplest':13 'simpli':32 'uid':36 'user':8,25"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7035810"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704271015 {#4258
    date: 2024-01-03 09:36:55.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
24 DENIED moderate
App\Entity\EntryComment {#4259
  +user: App\Entity\User {#3975 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4203
    +user: Proxies\__CG__\App\Entity\User {#4204 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4027
      +user: App\Entity\User {#3975 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
        \n
        Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
        \n
        To be even more on the secure side use a different random user ID and group ID for every container.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 10
      +score: 0
      +lastActive: DateTime @1711314477 {#4036
        date: 2024-03-24 22:07:57.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Moonrise2473@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4025 …}
      +nested: Doctrine\ORM\PersistentCollection {#4023 …}
      +votes: Doctrine\ORM\PersistentCollection {#4021 …}
      +reports: Doctrine\ORM\PersistentCollection {#4019 …}
      +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
      +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
      -id: 273197
      -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7009385"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704197365 {#3972
        date: 2024-01-02 13:09:25.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4027}
    +body: "Do I need to actually create the user in advance or can I just choose a string as I see fit?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1704226726 {#4201
      date: 2024-01-02 21:18:46.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Dirk@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4205 …}
    +nested: Doctrine\ORM\PersistentCollection {#4207 …}
    +votes: Doctrine\ORM\PersistentCollection {#4209 …}
    +reports: Doctrine\ORM\PersistentCollection {#4211 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4213 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4215 …}
    -id: 274497
    -bodyTs: "'actual':5 'advanc':10 'choos':15 'creat':6 'fit':21 'need':3 'see':20 'string':17 'user':8"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.dbzer0.com/comment/6358279"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704226726 {#4202
      date: 2024-01-02 21:18:46.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4027}
  +body: """
    You don’t need to create the user first. Here’s the simplest I can come up with:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">FROM alpine:latest\n
    </span><span style="color:#323232;">COPY myscript.sh /app/myscript.sh\n
    </span><span style="color:#323232;">USER 10000:10001\n
    </span><span style="color:#323232;">CMD ["sh", "/app/myscript.sh"]\n
    </span>\n
    ```\n
    \n
    This simply runs `/app/myscript.sh` with UID 10000 and GID 10001.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704271015 {#4257
    date: 2024-01-03 09:36:55.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
    "@Appoxo@lemmy.dbzer0.com"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4260 …}
  +nested: Doctrine\ORM\PersistentCollection {#4262 …}
  +votes: Doctrine\ORM\PersistentCollection {#4264 …}
  +reports: Doctrine\ORM\PersistentCollection {#4266 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4268 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4270 …}
  -id: 275935
  -bodyTs: "'/app/myscript.sh':24,30,34 '10000':26,37 '10001':27,40 'alpin':20 'cmd':28 'come':16 'copi':22 'creat':6 'first':9 'gid':39 'latest':21 'myscript.sh':23 'need':4 'run':33 'sh':29 'simplest':13 'simpli':32 'uid':36 'user':8,25"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7035810"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704271015 {#4258
    date: 2024-01-03 09:36:55.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
25 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
26 DENIED moderate
App\Entity\EntryComment {#4311
  +user: Proxies\__CG__\App\Entity\User {#4204 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4259
    +user: App\Entity\User {#3975 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4203
      +user: Proxies\__CG__\App\Entity\User {#4204 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4027
        +user: App\Entity\User {#3975 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
          \n
          Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
          \n
          To be even more on the secure side use a different random user ID and group ID for every container.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 10
        +score: 0
        +lastActive: DateTime @1711314477 {#4036
          date: 2024-03-24 22:07:57.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Moonrise2473@feddit.it"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4025 …}
        +nested: Doctrine\ORM\PersistentCollection {#4023 …}
        +votes: Doctrine\ORM\PersistentCollection {#4021 …}
        +reports: Doctrine\ORM\PersistentCollection {#4019 …}
        +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
        +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
        -id: 273197
        -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/7009385"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704197365 {#3972
          date: 2024-01-02 13:09:25.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4027}
      +body: "Do I need to actually create the user in advance or can I just choose a string as I see fit?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1704226726 {#4201
        date: 2024-01-02 21:18:46.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Moonrise2473@feddit.it"
        "@Dirk@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4205 …}
      +nested: Doctrine\ORM\PersistentCollection {#4207 …}
      +votes: Doctrine\ORM\PersistentCollection {#4209 …}
      +reports: Doctrine\ORM\PersistentCollection {#4211 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4213 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4215 …}
      -id: 274497
      -bodyTs: "'actual':5 'advanc':10 'choos':15 'creat':6 'fit':21 'need':3 'see':20 'string':17 'user':8"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.dbzer0.com/comment/6358279"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704226726 {#4202
        date: 2024-01-02 21:18:46.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4027}
    +body: """
      You don’t need to create the user first. Here’s the simplest I can come up with:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">FROM alpine:latest\n
      </span><span style="color:#323232;">COPY myscript.sh /app/myscript.sh\n
      </span><span style="color:#323232;">USER 10000:10001\n
      </span><span style="color:#323232;">CMD ["sh", "/app/myscript.sh"]\n
      </span>\n
      ```\n
      \n
      This simply runs `/app/myscript.sh` with UID 10000 and GID 10001.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1704271015 {#4257
      date: 2024-01-03 09:36:55.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Dirk@lemmy.ml"
      "@Appoxo@lemmy.dbzer0.com"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4260 …}
    +nested: Doctrine\ORM\PersistentCollection {#4262 …}
    +votes: Doctrine\ORM\PersistentCollection {#4264 …}
    +reports: Doctrine\ORM\PersistentCollection {#4266 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4268 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4270 …}
    -id: 275935
    -bodyTs: "'/app/myscript.sh':24,30,34 '10000':26,37 '10001':27,40 'alpin':20 'cmd':28 'come':16 'copi':22 'creat':6 'first':9 'gid':39 'latest':21 'myscript.sh':23 'need':4 'run':33 'sh':29 'simplest':13 'simpli':32 'uid':36 'user':8,25"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7035810"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704271015 {#4258
      date: 2024-01-03 09:36:55.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4027}
  +body: """
    Wasnt aware that you can just think of IDs from fresh air.  \n
    Thought it was to create the user and ID manually amd then be able to use it.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704283904 {#4309
    date: 2024-01-03 13:11:44.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
    "@Appoxo@lemmy.dbzer0.com"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4312 …}
  +nested: Doctrine\ORM\PersistentCollection {#4314 …}
  +votes: Doctrine\ORM\PersistentCollection {#4316 …}
  +reports: Doctrine\ORM\PersistentCollection {#4318 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
  -id: 276201
  -bodyTs: "'abl':26 'air':12 'amd':23 'awar':2 'creat':17 'fresh':11 'id':9,21 'manual':22 'think':7 'thought':13 'use':28 'user':19 'wasnt':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.dbzer0.com/comment/6383810"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704283904 {#4310
    date: 2024-01-03 13:11:44.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
27 DENIED edit
App\Entity\EntryComment {#4311
  +user: Proxies\__CG__\App\Entity\User {#4204 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4259
    +user: App\Entity\User {#3975 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4203
      +user: Proxies\__CG__\App\Entity\User {#4204 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4027
        +user: App\Entity\User {#3975 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
          \n
          Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
          \n
          To be even more on the secure side use a different random user ID and group ID for every container.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 10
        +score: 0
        +lastActive: DateTime @1711314477 {#4036
          date: 2024-03-24 22:07:57.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Moonrise2473@feddit.it"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4025 …}
        +nested: Doctrine\ORM\PersistentCollection {#4023 …}
        +votes: Doctrine\ORM\PersistentCollection {#4021 …}
        +reports: Doctrine\ORM\PersistentCollection {#4019 …}
        +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
        +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
        -id: 273197
        -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/7009385"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704197365 {#3972
          date: 2024-01-02 13:09:25.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4027}
      +body: "Do I need to actually create the user in advance or can I just choose a string as I see fit?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1704226726 {#4201
        date: 2024-01-02 21:18:46.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Moonrise2473@feddit.it"
        "@Dirk@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4205 …}
      +nested: Doctrine\ORM\PersistentCollection {#4207 …}
      +votes: Doctrine\ORM\PersistentCollection {#4209 …}
      +reports: Doctrine\ORM\PersistentCollection {#4211 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4213 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4215 …}
      -id: 274497
      -bodyTs: "'actual':5 'advanc':10 'choos':15 'creat':6 'fit':21 'need':3 'see':20 'string':17 'user':8"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.dbzer0.com/comment/6358279"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704226726 {#4202
        date: 2024-01-02 21:18:46.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4027}
    +body: """
      You don’t need to create the user first. Here’s the simplest I can come up with:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">FROM alpine:latest\n
      </span><span style="color:#323232;">COPY myscript.sh /app/myscript.sh\n
      </span><span style="color:#323232;">USER 10000:10001\n
      </span><span style="color:#323232;">CMD ["sh", "/app/myscript.sh"]\n
      </span>\n
      ```\n
      \n
      This simply runs `/app/myscript.sh` with UID 10000 and GID 10001.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1704271015 {#4257
      date: 2024-01-03 09:36:55.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Dirk@lemmy.ml"
      "@Appoxo@lemmy.dbzer0.com"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4260 …}
    +nested: Doctrine\ORM\PersistentCollection {#4262 …}
    +votes: Doctrine\ORM\PersistentCollection {#4264 …}
    +reports: Doctrine\ORM\PersistentCollection {#4266 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4268 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4270 …}
    -id: 275935
    -bodyTs: "'/app/myscript.sh':24,30,34 '10000':26,37 '10001':27,40 'alpin':20 'cmd':28 'come':16 'copi':22 'creat':6 'first':9 'gid':39 'latest':21 'myscript.sh':23 'need':4 'run':33 'sh':29 'simplest':13 'simpli':32 'uid':36 'user':8,25"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7035810"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704271015 {#4258
      date: 2024-01-03 09:36:55.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4027}
  +body: """
    Wasnt aware that you can just think of IDs from fresh air.  \n
    Thought it was to create the user and ID manually amd then be able to use it.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704283904 {#4309
    date: 2024-01-03 13:11:44.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
    "@Appoxo@lemmy.dbzer0.com"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4312 …}
  +nested: Doctrine\ORM\PersistentCollection {#4314 …}
  +votes: Doctrine\ORM\PersistentCollection {#4316 …}
  +reports: Doctrine\ORM\PersistentCollection {#4318 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
  -id: 276201
  -bodyTs: "'abl':26 'air':12 'amd':23 'awar':2 'creat':17 'fresh':11 'id':9,21 'manual':22 'think':7 'thought':13 'use':28 'user':19 'wasnt':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.dbzer0.com/comment/6383810"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704283904 {#4310
    date: 2024-01-03 13:11:44.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
28 DENIED moderate
App\Entity\EntryComment {#4311
  +user: Proxies\__CG__\App\Entity\User {#4204 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4259
    +user: App\Entity\User {#3975 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4203
      +user: Proxies\__CG__\App\Entity\User {#4204 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4027
        +user: App\Entity\User {#3975 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
          \n
          Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
          \n
          To be even more on the secure side use a different random user ID and group ID for every container.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 10
        +score: 0
        +lastActive: DateTime @1711314477 {#4036
          date: 2024-03-24 22:07:57.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Moonrise2473@feddit.it"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4025 …}
        +nested: Doctrine\ORM\PersistentCollection {#4023 …}
        +votes: Doctrine\ORM\PersistentCollection {#4021 …}
        +reports: Doctrine\ORM\PersistentCollection {#4019 …}
        +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
        +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
        -id: 273197
        -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/7009385"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704197365 {#3972
          date: 2024-01-02 13:09:25.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4027}
      +body: "Do I need to actually create the user in advance or can I just choose a string as I see fit?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1704226726 {#4201
        date: 2024-01-02 21:18:46.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Moonrise2473@feddit.it"
        "@Dirk@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4205 …}
      +nested: Doctrine\ORM\PersistentCollection {#4207 …}
      +votes: Doctrine\ORM\PersistentCollection {#4209 …}
      +reports: Doctrine\ORM\PersistentCollection {#4211 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4213 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4215 …}
      -id: 274497
      -bodyTs: "'actual':5 'advanc':10 'choos':15 'creat':6 'fit':21 'need':3 'see':20 'string':17 'user':8"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.dbzer0.com/comment/6358279"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704226726 {#4202
        date: 2024-01-02 21:18:46.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4027}
    +body: """
      You don’t need to create the user first. Here’s the simplest I can come up with:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">FROM alpine:latest\n
      </span><span style="color:#323232;">COPY myscript.sh /app/myscript.sh\n
      </span><span style="color:#323232;">USER 10000:10001\n
      </span><span style="color:#323232;">CMD ["sh", "/app/myscript.sh"]\n
      </span>\n
      ```\n
      \n
      This simply runs `/app/myscript.sh` with UID 10000 and GID 10001.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1704271015 {#4257
      date: 2024-01-03 09:36:55.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Dirk@lemmy.ml"
      "@Appoxo@lemmy.dbzer0.com"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4260 …}
    +nested: Doctrine\ORM\PersistentCollection {#4262 …}
    +votes: Doctrine\ORM\PersistentCollection {#4264 …}
    +reports: Doctrine\ORM\PersistentCollection {#4266 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4268 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4270 …}
    -id: 275935
    -bodyTs: "'/app/myscript.sh':24,30,34 '10000':26,37 '10001':27,40 'alpin':20 'cmd':28 'come':16 'copi':22 'creat':6 'first':9 'gid':39 'latest':21 'myscript.sh':23 'need':4 'run':33 'sh':29 'simplest':13 'simpli':32 'uid':36 'user':8,25"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7035810"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704271015 {#4258
      date: 2024-01-03 09:36:55.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4027}
  +body: """
    Wasnt aware that you can just think of IDs from fresh air.  \n
    Thought it was to create the user and ID manually amd then be able to use it.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704283904 {#4309
    date: 2024-01-03 13:11:44.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
    "@Appoxo@lemmy.dbzer0.com"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4312 …}
  +nested: Doctrine\ORM\PersistentCollection {#4314 …}
  +votes: Doctrine\ORM\PersistentCollection {#4316 …}
  +reports: Doctrine\ORM\PersistentCollection {#4318 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
  -id: 276201
  -bodyTs: "'abl':26 'air':12 'amd':23 'awar':2 'creat':17 'fresh':11 'id':9,21 'manual':22 'think':7 'thought':13 'use':28 'user':19 'wasnt':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.dbzer0.com/comment/6383810"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704283904 {#4310
    date: 2024-01-03 13:11:44.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
29 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
30 DENIED moderate
App\Entity\EntryComment {#4366
  +user: App\Entity\User {#3975 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4311
    +user: Proxies\__CG__\App\Entity\User {#4204 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4259
      +user: App\Entity\User {#3975 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4203
        +user: Proxies\__CG__\App\Entity\User {#4204 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4027
          +user: App\Entity\User {#3975 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: null
          +root: null
          +body: """
            It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
            \n
            Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
            \n
            To be even more on the secure side use a different random user ID and group ID for every container.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 10
          +score: 0
          +lastActive: DateTime @1711314477 {#4036
            date: 2024-03-24 22:07:57.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@Moonrise2473@feddit.it"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4025 …}
          +nested: Doctrine\ORM\PersistentCollection {#4023 …}
          +votes: Doctrine\ORM\PersistentCollection {#4021 …}
          +reports: Doctrine\ORM\PersistentCollection {#4019 …}
          +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
          +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
          -id: 273197
          -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/7009385"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704197365 {#3972
            date: 2024-01-02 13:09:25.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4027}
        +body: "Do I need to actually create the user in advance or can I just choose a string as I see fit?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1704226726 {#4201
          date: 2024-01-02 21:18:46.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Moonrise2473@feddit.it"
          "@Dirk@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4205 …}
        +nested: Doctrine\ORM\PersistentCollection {#4207 …}
        +votes: Doctrine\ORM\PersistentCollection {#4209 …}
        +reports: Doctrine\ORM\PersistentCollection {#4211 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4213 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4215 …}
        -id: 274497
        -bodyTs: "'actual':5 'advanc':10 'choos':15 'creat':6 'fit':21 'need':3 'see':20 'string':17 'user':8"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.dbzer0.com/comment/6358279"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704226726 {#4202
          date: 2024-01-02 21:18:46.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4027}
      +body: """
        You don’t need to create the user first. Here’s the simplest I can come up with:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">FROM alpine:latest\n
        </span><span style="color:#323232;">COPY myscript.sh /app/myscript.sh\n
        </span><span style="color:#323232;">USER 10000:10001\n
        </span><span style="color:#323232;">CMD ["sh", "/app/myscript.sh"]\n
        </span>\n
        ```\n
        \n
        This simply runs `/app/myscript.sh` with UID 10000 and GID 10001.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1704271015 {#4257
        date: 2024-01-03 09:36:55.0 +01:00
      }
      +ip: null
      +tags: [
        "323232"
      ]
      +mentions: [
        "@Moonrise2473@feddit.it"
        "@Dirk@lemmy.ml"
        "@Appoxo@lemmy.dbzer0.com"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4260 …}
      +nested: Doctrine\ORM\PersistentCollection {#4262 …}
      +votes: Doctrine\ORM\PersistentCollection {#4264 …}
      +reports: Doctrine\ORM\PersistentCollection {#4266 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4268 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4270 …}
      -id: 275935
      -bodyTs: "'/app/myscript.sh':24,30,34 '10000':26,37 '10001':27,40 'alpin':20 'cmd':28 'come':16 'copi':22 'creat':6 'first':9 'gid':39 'latest':21 'myscript.sh':23 'need':4 'run':33 'sh':29 'simplest':13 'simpli':32 'uid':36 'user':8,25"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7035810"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704271015 {#4258
        date: 2024-01-03 09:36:55.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4027}
    +body: """
      Wasnt aware that you can just think of IDs from fresh air.  \n
      Thought it was to create the user and ID manually amd then be able to use it.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1704283904 {#4309
      date: 2024-01-03 13:11:44.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Dirk@lemmy.ml"
      "@Appoxo@lemmy.dbzer0.com"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4312 …}
    +nested: Doctrine\ORM\PersistentCollection {#4314 …}
    +votes: Doctrine\ORM\PersistentCollection {#4316 …}
    +reports: Doctrine\ORM\PersistentCollection {#4318 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
    -id: 276201
    -bodyTs: "'abl':26 'air':12 'amd':23 'awar':2 'creat':17 'fresh':11 'id':9,21 'manual':22 'think':7 'thought':13 'use':28 'user':19 'wasnt':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.dbzer0.com/comment/6383810"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704283904 {#4310
      date: 2024-01-03 13:11:44.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4027}
  +body: """
    Yep! The names are basically just a convenient way for referencing a user or group ID.\n
    \n
    Under normal circumstances you should let the system decide what IDs to use, but in the confined environment of a docker container you can do pretty much what you want.\n
    \n
    If you really, really, really want to create a user and group just set the IDs manually:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">FROM alpine:latest\n
    </span><span style="color:#323232;">COPY myscript.sh /app/myscript.sh\n
    </span><span style="color:#323232;">RUN addgroup -g 10001 mycoolgroup && adduser -D -u 10000 -G mycoolgroup mycooluser\n
    </span><span style="color:#323232;">USER mycooluser:mycoolgroup\n
    </span><span style="color:#323232;">CMD ["sh", "/app/myscript.sh"]\n
    </span>\n
    ```\n
    \n
    Just make sure to stay at or above 10000 so you won’t accidentally re-use IDs that are already defined on the host.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704286824 {#4364
    date: 2024-01-03 14:00:24.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
    "@Appoxo@lemmy.dbzer0.com"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4367 …}
  +nested: Doctrine\ORM\PersistentCollection {#4369 …}
  +votes: Doctrine\ORM\PersistentCollection {#4371 …}
  +reports: Doctrine\ORM\PersistentCollection {#4373 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4375 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4377 …}
  -id: 276293
  -bodyTs: "'/app/myscript.sh':69,87 '10000':78,96 '10001':73 'accident':101 'addgroup':71 'addus':75 'alpin':65 'alreadi':108 'basic':5 'circumst':19 'cmd':85 'confin':33 'contain':38 'conveni':8 'copi':67 'creat':54 'd':76 'decid':25 'defin':109 'docker':37 'environ':34 'g':72,79 'group':15,58 'host':112 'id':16,27,62,105 'latest':66 'let':22 'make':89 'manual':63 'much':43 'mycoolgroup':74,80,84 'mycoolus':81,83 'myscript.sh':68 'name':3 'normal':18 'pretti':42 're':103 're-us':102 'realli':49,50,51 'referenc':11 'run':70 'set':60 'sh':86 'stay':92 'sure':90 'system':24 'u':77 'use':29,104 'user':13,56,82 'want':46,52 'way':9 'won':99 'yep':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7042803"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704286824 {#4365
    date: 2024-01-03 14:00:24.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
31 DENIED edit
App\Entity\EntryComment {#4366
  +user: App\Entity\User {#3975 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4311
    +user: Proxies\__CG__\App\Entity\User {#4204 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4259
      +user: App\Entity\User {#3975 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4203
        +user: Proxies\__CG__\App\Entity\User {#4204 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4027
          +user: App\Entity\User {#3975 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: null
          +root: null
          +body: """
            It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
            \n
            Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
            \n
            To be even more on the secure side use a different random user ID and group ID for every container.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 10
          +score: 0
          +lastActive: DateTime @1711314477 {#4036
            date: 2024-03-24 22:07:57.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@Moonrise2473@feddit.it"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4025 …}
          +nested: Doctrine\ORM\PersistentCollection {#4023 …}
          +votes: Doctrine\ORM\PersistentCollection {#4021 …}
          +reports: Doctrine\ORM\PersistentCollection {#4019 …}
          +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
          +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
          -id: 273197
          -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/7009385"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704197365 {#3972
            date: 2024-01-02 13:09:25.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4027}
        +body: "Do I need to actually create the user in advance or can I just choose a string as I see fit?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1704226726 {#4201
          date: 2024-01-02 21:18:46.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Moonrise2473@feddit.it"
          "@Dirk@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4205 …}
        +nested: Doctrine\ORM\PersistentCollection {#4207 …}
        +votes: Doctrine\ORM\PersistentCollection {#4209 …}
        +reports: Doctrine\ORM\PersistentCollection {#4211 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4213 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4215 …}
        -id: 274497
        -bodyTs: "'actual':5 'advanc':10 'choos':15 'creat':6 'fit':21 'need':3 'see':20 'string':17 'user':8"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.dbzer0.com/comment/6358279"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704226726 {#4202
          date: 2024-01-02 21:18:46.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4027}
      +body: """
        You don’t need to create the user first. Here’s the simplest I can come up with:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">FROM alpine:latest\n
        </span><span style="color:#323232;">COPY myscript.sh /app/myscript.sh\n
        </span><span style="color:#323232;">USER 10000:10001\n
        </span><span style="color:#323232;">CMD ["sh", "/app/myscript.sh"]\n
        </span>\n
        ```\n
        \n
        This simply runs `/app/myscript.sh` with UID 10000 and GID 10001.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1704271015 {#4257
        date: 2024-01-03 09:36:55.0 +01:00
      }
      +ip: null
      +tags: [
        "323232"
      ]
      +mentions: [
        "@Moonrise2473@feddit.it"
        "@Dirk@lemmy.ml"
        "@Appoxo@lemmy.dbzer0.com"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4260 …}
      +nested: Doctrine\ORM\PersistentCollection {#4262 …}
      +votes: Doctrine\ORM\PersistentCollection {#4264 …}
      +reports: Doctrine\ORM\PersistentCollection {#4266 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4268 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4270 …}
      -id: 275935
      -bodyTs: "'/app/myscript.sh':24,30,34 '10000':26,37 '10001':27,40 'alpin':20 'cmd':28 'come':16 'copi':22 'creat':6 'first':9 'gid':39 'latest':21 'myscript.sh':23 'need':4 'run':33 'sh':29 'simplest':13 'simpli':32 'uid':36 'user':8,25"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7035810"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704271015 {#4258
        date: 2024-01-03 09:36:55.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4027}
    +body: """
      Wasnt aware that you can just think of IDs from fresh air.  \n
      Thought it was to create the user and ID manually amd then be able to use it.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1704283904 {#4309
      date: 2024-01-03 13:11:44.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Dirk@lemmy.ml"
      "@Appoxo@lemmy.dbzer0.com"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4312 …}
    +nested: Doctrine\ORM\PersistentCollection {#4314 …}
    +votes: Doctrine\ORM\PersistentCollection {#4316 …}
    +reports: Doctrine\ORM\PersistentCollection {#4318 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
    -id: 276201
    -bodyTs: "'abl':26 'air':12 'amd':23 'awar':2 'creat':17 'fresh':11 'id':9,21 'manual':22 'think':7 'thought':13 'use':28 'user':19 'wasnt':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.dbzer0.com/comment/6383810"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704283904 {#4310
      date: 2024-01-03 13:11:44.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4027}
  +body: """
    Yep! The names are basically just a convenient way for referencing a user or group ID.\n
    \n
    Under normal circumstances you should let the system decide what IDs to use, but in the confined environment of a docker container you can do pretty much what you want.\n
    \n
    If you really, really, really want to create a user and group just set the IDs manually:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">FROM alpine:latest\n
    </span><span style="color:#323232;">COPY myscript.sh /app/myscript.sh\n
    </span><span style="color:#323232;">RUN addgroup -g 10001 mycoolgroup && adduser -D -u 10000 -G mycoolgroup mycooluser\n
    </span><span style="color:#323232;">USER mycooluser:mycoolgroup\n
    </span><span style="color:#323232;">CMD ["sh", "/app/myscript.sh"]\n
    </span>\n
    ```\n
    \n
    Just make sure to stay at or above 10000 so you won’t accidentally re-use IDs that are already defined on the host.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704286824 {#4364
    date: 2024-01-03 14:00:24.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
    "@Appoxo@lemmy.dbzer0.com"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4367 …}
  +nested: Doctrine\ORM\PersistentCollection {#4369 …}
  +votes: Doctrine\ORM\PersistentCollection {#4371 …}
  +reports: Doctrine\ORM\PersistentCollection {#4373 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4375 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4377 …}
  -id: 276293
  -bodyTs: "'/app/myscript.sh':69,87 '10000':78,96 '10001':73 'accident':101 'addgroup':71 'addus':75 'alpin':65 'alreadi':108 'basic':5 'circumst':19 'cmd':85 'confin':33 'contain':38 'conveni':8 'copi':67 'creat':54 'd':76 'decid':25 'defin':109 'docker':37 'environ':34 'g':72,79 'group':15,58 'host':112 'id':16,27,62,105 'latest':66 'let':22 'make':89 'manual':63 'much':43 'mycoolgroup':74,80,84 'mycoolus':81,83 'myscript.sh':68 'name':3 'normal':18 'pretti':42 're':103 're-us':102 'realli':49,50,51 'referenc':11 'run':70 'set':60 'sh':86 'stay':92 'sure':90 'system':24 'u':77 'use':29,104 'user':13,56,82 'want':46,52 'way':9 'won':99 'yep':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7042803"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704286824 {#4365
    date: 2024-01-03 14:00:24.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
32 DENIED moderate
App\Entity\EntryComment {#4366
  +user: App\Entity\User {#3975 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4311
    +user: Proxies\__CG__\App\Entity\User {#4204 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4259
      +user: App\Entity\User {#3975 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4203
        +user: Proxies\__CG__\App\Entity\User {#4204 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4027
          +user: App\Entity\User {#3975 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: null
          +root: null
          +body: """
            It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
            \n
            Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
            \n
            To be even more on the secure side use a different random user ID and group ID for every container.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 10
          +score: 0
          +lastActive: DateTime @1711314477 {#4036
            date: 2024-03-24 22:07:57.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@Moonrise2473@feddit.it"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4025 …}
          +nested: Doctrine\ORM\PersistentCollection {#4023 …}
          +votes: Doctrine\ORM\PersistentCollection {#4021 …}
          +reports: Doctrine\ORM\PersistentCollection {#4019 …}
          +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
          +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
          -id: 273197
          -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/7009385"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704197365 {#3972
            date: 2024-01-02 13:09:25.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4027}
        +body: "Do I need to actually create the user in advance or can I just choose a string as I see fit?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1704226726 {#4201
          date: 2024-01-02 21:18:46.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Moonrise2473@feddit.it"
          "@Dirk@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4205 …}
        +nested: Doctrine\ORM\PersistentCollection {#4207 …}
        +votes: Doctrine\ORM\PersistentCollection {#4209 …}
        +reports: Doctrine\ORM\PersistentCollection {#4211 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4213 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4215 …}
        -id: 274497
        -bodyTs: "'actual':5 'advanc':10 'choos':15 'creat':6 'fit':21 'need':3 'see':20 'string':17 'user':8"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.dbzer0.com/comment/6358279"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704226726 {#4202
          date: 2024-01-02 21:18:46.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4027}
      +body: """
        You don’t need to create the user first. Here’s the simplest I can come up with:\n
        \n
        ```\n
        \n
        <span style="color:#323232;">FROM alpine:latest\n
        </span><span style="color:#323232;">COPY myscript.sh /app/myscript.sh\n
        </span><span style="color:#323232;">USER 10000:10001\n
        </span><span style="color:#323232;">CMD ["sh", "/app/myscript.sh"]\n
        </span>\n
        ```\n
        \n
        This simply runs `/app/myscript.sh` with UID 10000 and GID 10001.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1704271015 {#4257
        date: 2024-01-03 09:36:55.0 +01:00
      }
      +ip: null
      +tags: [
        "323232"
      ]
      +mentions: [
        "@Moonrise2473@feddit.it"
        "@Dirk@lemmy.ml"
        "@Appoxo@lemmy.dbzer0.com"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4260 …}
      +nested: Doctrine\ORM\PersistentCollection {#4262 …}
      +votes: Doctrine\ORM\PersistentCollection {#4264 …}
      +reports: Doctrine\ORM\PersistentCollection {#4266 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4268 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4270 …}
      -id: 275935
      -bodyTs: "'/app/myscript.sh':24,30,34 '10000':26,37 '10001':27,40 'alpin':20 'cmd':28 'come':16 'copi':22 'creat':6 'first':9 'gid':39 'latest':21 'myscript.sh':23 'need':4 'run':33 'sh':29 'simplest':13 'simpli':32 'uid':36 'user':8,25"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7035810"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704271015 {#4258
        date: 2024-01-03 09:36:55.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4027}
    +body: """
      Wasnt aware that you can just think of IDs from fresh air.  \n
      Thought it was to create the user and ID manually amd then be able to use it.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1704283904 {#4309
      date: 2024-01-03 13:11:44.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Dirk@lemmy.ml"
      "@Appoxo@lemmy.dbzer0.com"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4312 …}
    +nested: Doctrine\ORM\PersistentCollection {#4314 …}
    +votes: Doctrine\ORM\PersistentCollection {#4316 …}
    +reports: Doctrine\ORM\PersistentCollection {#4318 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4320 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4322 …}
    -id: 276201
    -bodyTs: "'abl':26 'air':12 'amd':23 'awar':2 'creat':17 'fresh':11 'id':9,21 'manual':22 'think':7 'thought':13 'use':28 'user':19 'wasnt':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.dbzer0.com/comment/6383810"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704283904 {#4310
      date: 2024-01-03 13:11:44.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4027}
  +body: """
    Yep! The names are basically just a convenient way for referencing a user or group ID.\n
    \n
    Under normal circumstances you should let the system decide what IDs to use, but in the confined environment of a docker container you can do pretty much what you want.\n
    \n
    If you really, really, really want to create a user and group just set the IDs manually:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">FROM alpine:latest\n
    </span><span style="color:#323232;">COPY myscript.sh /app/myscript.sh\n
    </span><span style="color:#323232;">RUN addgroup -g 10001 mycoolgroup && adduser -D -u 10000 -G mycoolgroup mycooluser\n
    </span><span style="color:#323232;">USER mycooluser:mycoolgroup\n
    </span><span style="color:#323232;">CMD ["sh", "/app/myscript.sh"]\n
    </span>\n
    ```\n
    \n
    Just make sure to stay at or above 10000 so you won’t accidentally re-use IDs that are already defined on the host.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704286824 {#4364
    date: 2024-01-03 14:00:24.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
    "@Appoxo@lemmy.dbzer0.com"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4367 …}
  +nested: Doctrine\ORM\PersistentCollection {#4369 …}
  +votes: Doctrine\ORM\PersistentCollection {#4371 …}
  +reports: Doctrine\ORM\PersistentCollection {#4373 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4375 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4377 …}
  -id: 276293
  -bodyTs: "'/app/myscript.sh':69,87 '10000':78,96 '10001':73 'accident':101 'addgroup':71 'addus':75 'alpin':65 'alreadi':108 'basic':5 'circumst':19 'cmd':85 'confin':33 'contain':38 'conveni':8 'copi':67 'creat':54 'd':76 'decid':25 'defin':109 'docker':37 'environ':34 'g':72,79 'group':15,58 'host':112 'id':16,27,62,105 'latest':66 'let':22 'make':89 'manual':63 'much':43 'mycoolgroup':74,80,84 'mycoolus':81,83 'myscript.sh':68 'name':3 'normal':18 'pretti':42 're':103 're-us':102 'realli':49,50,51 'referenc':11 'run':70 'set':60 'sh':86 'stay':92 'sure':90 'system':24 'u':77 'use':29,104 'user':13,56,82 'want':46,52 'way':9 'won':99 'yep':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7042803"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704286824 {#4365
    date: 2024-01-03 14:00:24.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
33 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
34 DENIED moderate
App\Entity\EntryComment {#4220
  +user: Proxies\__CG__\App\Entity\User {#4221 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4027
    +user: App\Entity\User {#3975 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
      \n
      Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
      \n
      To be even more on the secure side use a different random user ID and group ID for every container.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 10
    +score: 0
    +lastActive: DateTime @1711314477 {#4036
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4025 …}
    +nested: Doctrine\ORM\PersistentCollection {#4023 …}
    +votes: Doctrine\ORM\PersistentCollection {#4021 …}
    +reports: Doctrine\ORM\PersistentCollection {#4019 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
    -id: 273197
    -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7009385"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704197365 {#3972
      date: 2024-01-02 13:09:25.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4027}
  +body: "My go-to for user and group IDs is 1234:1234"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704227107 {#4217
    date: 2024-01-02 21:25:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4222 …}
  +nested: Doctrine\ORM\PersistentCollection {#4224 …}
  +votes: Doctrine\ORM\PersistentCollection {#4226 …}
  +reports: Doctrine\ORM\PersistentCollection {#4228 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4230 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4232 …}
  -id: 274513
  -bodyTs: "'1234':11,12 'go':3 'go-to':2 'group':8 'id':9 'user':6"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sh.itjust.works/comment/7013126"
  +editedAt: DateTimeImmutable @1711005452 {#4218
    date: 2024-03-21 08:17:32.0 +01:00
  }
  +createdAt: DateTimeImmutable @1704227107 {#4219
    date: 2024-01-02 21:25:07.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
35 DENIED edit
App\Entity\EntryComment {#4220
  +user: Proxies\__CG__\App\Entity\User {#4221 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4027
    +user: App\Entity\User {#3975 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
      \n
      Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
      \n
      To be even more on the secure side use a different random user ID and group ID for every container.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 10
    +score: 0
    +lastActive: DateTime @1711314477 {#4036
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4025 …}
    +nested: Doctrine\ORM\PersistentCollection {#4023 …}
    +votes: Doctrine\ORM\PersistentCollection {#4021 …}
    +reports: Doctrine\ORM\PersistentCollection {#4019 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
    -id: 273197
    -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7009385"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704197365 {#3972
      date: 2024-01-02 13:09:25.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4027}
  +body: "My go-to for user and group IDs is 1234:1234"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704227107 {#4217
    date: 2024-01-02 21:25:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4222 …}
  +nested: Doctrine\ORM\PersistentCollection {#4224 …}
  +votes: Doctrine\ORM\PersistentCollection {#4226 …}
  +reports: Doctrine\ORM\PersistentCollection {#4228 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4230 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4232 …}
  -id: 274513
  -bodyTs: "'1234':11,12 'go':3 'go-to':2 'group':8 'id':9 'user':6"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sh.itjust.works/comment/7013126"
  +editedAt: DateTimeImmutable @1711005452 {#4218
    date: 2024-03-21 08:17:32.0 +01:00
  }
  +createdAt: DateTimeImmutable @1704227107 {#4219
    date: 2024-01-02 21:25:07.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
36 DENIED moderate
App\Entity\EntryComment {#4220
  +user: Proxies\__CG__\App\Entity\User {#4221 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4027
    +user: App\Entity\User {#3975 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      It’s actually a suggested configuration / best practice to NOT have container user IDs matching the host user IDs.\n
      \n
      Ditch the idea of root and user in a docker container. For your containerized application use 10000:10001. You’ll have only one application and one “user” in the container anyways when doing it right.\n
      \n
      To be even more on the secure side use a different random user ID and group ID for every container.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 10
    +score: 0
    +lastActive: DateTime @1711314477 {#4036
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4025 …}
    +nested: Doctrine\ORM\PersistentCollection {#4023 …}
    +votes: Doctrine\ORM\PersistentCollection {#4021 …}
    +reports: Doctrine\ORM\PersistentCollection {#4019 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3987 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3991 …}
    -id: 273197
    -bodyTs: "'10000':36 '10001':37 'actual':3 'anyway':50 'applic':34,43 'best':7 'configur':6 'contain':12,30,49,74 'container':33 'differ':65 'ditch':20 'docker':29 'even':57 'everi':73 'group':70 'host':17 'id':14,19,68,71 'idea':22 'll':39 'match':15 'one':42,45 'practic':8 'random':66 'right':54 'root':24 'secur':61 'side':62 'suggest':5 'use':35,63 'user':13,18,26,46,67"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7009385"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704197365 {#3972
      date: 2024-01-02 13:09:25.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4027}
  +body: "My go-to for user and group IDs is 1234:1234"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704227107 {#4217
    date: 2024-01-02 21:25:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
    "@Moonrise2473@feddit.it"
    "@Dirk@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4222 …}
  +nested: Doctrine\ORM\PersistentCollection {#4224 …}
  +votes: Doctrine\ORM\PersistentCollection {#4226 …}
  +reports: Doctrine\ORM\PersistentCollection {#4228 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4230 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4232 …}
  -id: 274513
  -bodyTs: "'1234':11,12 'go':3 'go-to':2 'group':8 'id':9 'user':6"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sh.itjust.works/comment/7013126"
  +editedAt: DateTimeImmutable @1711005452 {#4218
    date: 2024-03-21 08:17:32.0 +01:00
  }
  +createdAt: DateTimeImmutable @1704227107 {#4219
    date: 2024-01-02 21:25:07.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
37 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
38 DENIED moderate
App\Entity\EntryComment {#4062
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    checked .bash_history, looks like i installed docker in the new rootless mode\n
    \n
    ```\n
    \n
    <span style="color:#323232;">wget get.docker.com\n
    </span><span style="color:#323232;">ls\n
    </span><span style="color:#323232;">mv index.html docker.sh\n
    </span><span style="color:#323232;">chmod +x docker.sh\n
    </span><span style="color:#323232;">./docker.sh\n
    </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
    </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
    </span><span style="color:#323232;">sudo apt install uidmap\n
    </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
    </span>\n
    ```\n
    \n
    now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1711255062 {#4068
    date: 2024-03-24 05:37:42.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@Moonrise2473@feddit.it"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4063 …}
  +nested: Doctrine\ORM\PersistentCollection {#4054 …}
  +votes: Doctrine\ORM\PersistentCollection {#4057 …}
  +reports: Doctrine\ORM\PersistentCollection {#4052 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
  -id: 273088
  -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.it/comment/4682424"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704194921 {#4069
    date: 2024-01-02 12:28:41.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
39 DENIED edit
App\Entity\EntryComment {#4062
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    checked .bash_history, looks like i installed docker in the new rootless mode\n
    \n
    ```\n
    \n
    <span style="color:#323232;">wget get.docker.com\n
    </span><span style="color:#323232;">ls\n
    </span><span style="color:#323232;">mv index.html docker.sh\n
    </span><span style="color:#323232;">chmod +x docker.sh\n
    </span><span style="color:#323232;">./docker.sh\n
    </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
    </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
    </span><span style="color:#323232;">sudo apt install uidmap\n
    </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
    </span>\n
    ```\n
    \n
    now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1711255062 {#4068
    date: 2024-03-24 05:37:42.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@Moonrise2473@feddit.it"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4063 …}
  +nested: Doctrine\ORM\PersistentCollection {#4054 …}
  +votes: Doctrine\ORM\PersistentCollection {#4057 …}
  +reports: Doctrine\ORM\PersistentCollection {#4052 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
  -id: 273088
  -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.it/comment/4682424"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704194921 {#4069
    date: 2024-01-02 12:28:41.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
40 DENIED moderate
App\Entity\EntryComment {#4062
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    checked .bash_history, looks like i installed docker in the new rootless mode\n
    \n
    ```\n
    \n
    <span style="color:#323232;">wget get.docker.com\n
    </span><span style="color:#323232;">ls\n
    </span><span style="color:#323232;">mv index.html docker.sh\n
    </span><span style="color:#323232;">chmod +x docker.sh\n
    </span><span style="color:#323232;">./docker.sh\n
    </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
    </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
    </span><span style="color:#323232;">sudo apt install uidmap\n
    </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
    </span>\n
    ```\n
    \n
    now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1711255062 {#4068
    date: 2024-03-24 05:37:42.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@Moonrise2473@feddit.it"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4063 …}
  +nested: Doctrine\ORM\PersistentCollection {#4054 …}
  +votes: Doctrine\ORM\PersistentCollection {#4057 …}
  +reports: Doctrine\ORM\PersistentCollection {#4052 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
  -id: 273088
  -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.it/comment/4682424"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704194921 {#4069
    date: 2024-01-02 12:28:41.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
41 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
42 DENIED moderate
App\Entity\EntryComment {#4173
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4062
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      checked .bash_history, looks like i installed docker in the new rootless mode\n
      \n
      ```\n
      \n
      <span style="color:#323232;">wget get.docker.com\n
      </span><span style="color:#323232;">ls\n
      </span><span style="color:#323232;">mv index.html docker.sh\n
      </span><span style="color:#323232;">chmod +x docker.sh\n
      </span><span style="color:#323232;">./docker.sh\n
      </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
      </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
      </span><span style="color:#323232;">sudo apt install uidmap\n
      </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
      </span>\n
      ```\n
      \n
      now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1711255062 {#4068
      date: 2024-03-24 05:37:42.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@Moonrise2473@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4063 …}
    +nested: Doctrine\ORM\PersistentCollection {#4054 …}
    +votes: Doctrine\ORM\PersistentCollection {#4057 …}
    +reports: Doctrine\ORM\PersistentCollection {#4052 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
    -id: 273088
    -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4682424"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704194921 {#4069
      date: 2024-01-02 12:28:41.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4062}
  +body: """
    I fixed it:\n
    \n
    for future reference:\n
    \n
    - from docs.docker.com/engine/security/rootless/#uninsta…, run `dockerd-rootless-setuptool.sh uninstall`\n
    - delete the user data (**warning**: i wasn’t using any docker volumes and i had no data to lose!!!) using the command that the previous script tells you\n
    - add your user to the docker group and use the traditional “run docker as root” way: docs.docker.com/engine/…/linux-postinstall/#manag…
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1704195952 {#4174
    date: 2024-01-02 12:45:52.0 +01:00
  }
  +ip: null
  +tags: [
    "uninsta"
    "manag"
  ]
  +mentions: [
    "@Moonrise2473@feddit.it"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4170 …}
  +nested: Doctrine\ORM\PersistentCollection {#4166 …}
  +votes: Doctrine\ORM\PersistentCollection {#4164 …}
  +reports: Doctrine\ORM\PersistentCollection {#4179 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4181 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
  -id: 273122
  -bodyTs: "'/engine/':60 '/engine/security/rootless/#uninsta':10 '/linux-postinstall':61 'add':42 'command':35 'data':17,30 'delet':14 'docker':24,47,54 'dockerd-rootless-setuptool.sh':12 'docs.docker.com':9,59 'docs.docker.com/engine/':58 'docs.docker.com/engine/security/rootless/#uninsta':8 'fix':2 'futur':5 'group':48 'lose':32 'manag':62 'previous':38 'refer':6 'root':56 'run':11,53 'script':39 'tell':40 'tradit':52 'uninstal':13 'use':22,33,50 'user':16,44 'volum':25 'warn':18 'wasn':20 'way':57"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.it/comment/4682586"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704195952 {#4177
    date: 2024-01-02 12:45:52.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
43 DENIED edit
App\Entity\EntryComment {#4173
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4062
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      checked .bash_history, looks like i installed docker in the new rootless mode\n
      \n
      ```\n
      \n
      <span style="color:#323232;">wget get.docker.com\n
      </span><span style="color:#323232;">ls\n
      </span><span style="color:#323232;">mv index.html docker.sh\n
      </span><span style="color:#323232;">chmod +x docker.sh\n
      </span><span style="color:#323232;">./docker.sh\n
      </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
      </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
      </span><span style="color:#323232;">sudo apt install uidmap\n
      </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
      </span>\n
      ```\n
      \n
      now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1711255062 {#4068
      date: 2024-03-24 05:37:42.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@Moonrise2473@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4063 …}
    +nested: Doctrine\ORM\PersistentCollection {#4054 …}
    +votes: Doctrine\ORM\PersistentCollection {#4057 …}
    +reports: Doctrine\ORM\PersistentCollection {#4052 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
    -id: 273088
    -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4682424"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704194921 {#4069
      date: 2024-01-02 12:28:41.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4062}
  +body: """
    I fixed it:\n
    \n
    for future reference:\n
    \n
    - from docs.docker.com/engine/security/rootless/#uninsta…, run `dockerd-rootless-setuptool.sh uninstall`\n
    - delete the user data (**warning**: i wasn’t using any docker volumes and i had no data to lose!!!) using the command that the previous script tells you\n
    - add your user to the docker group and use the traditional “run docker as root” way: docs.docker.com/engine/…/linux-postinstall/#manag…
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1704195952 {#4174
    date: 2024-01-02 12:45:52.0 +01:00
  }
  +ip: null
  +tags: [
    "uninsta"
    "manag"
  ]
  +mentions: [
    "@Moonrise2473@feddit.it"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4170 …}
  +nested: Doctrine\ORM\PersistentCollection {#4166 …}
  +votes: Doctrine\ORM\PersistentCollection {#4164 …}
  +reports: Doctrine\ORM\PersistentCollection {#4179 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4181 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
  -id: 273122
  -bodyTs: "'/engine/':60 '/engine/security/rootless/#uninsta':10 '/linux-postinstall':61 'add':42 'command':35 'data':17,30 'delet':14 'docker':24,47,54 'dockerd-rootless-setuptool.sh':12 'docs.docker.com':9,59 'docs.docker.com/engine/':58 'docs.docker.com/engine/security/rootless/#uninsta':8 'fix':2 'futur':5 'group':48 'lose':32 'manag':62 'previous':38 'refer':6 'root':56 'run':11,53 'script':39 'tell':40 'tradit':52 'uninstal':13 'use':22,33,50 'user':16,44 'volum':25 'warn':18 'wasn':20 'way':57"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.it/comment/4682586"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704195952 {#4177
    date: 2024-01-02 12:45:52.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
44 DENIED moderate
App\Entity\EntryComment {#4173
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4062
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      checked .bash_history, looks like i installed docker in the new rootless mode\n
      \n
      ```\n
      \n
      <span style="color:#323232;">wget get.docker.com\n
      </span><span style="color:#323232;">ls\n
      </span><span style="color:#323232;">mv index.html docker.sh\n
      </span><span style="color:#323232;">chmod +x docker.sh\n
      </span><span style="color:#323232;">./docker.sh\n
      </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
      </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
      </span><span style="color:#323232;">sudo apt install uidmap\n
      </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
      </span>\n
      ```\n
      \n
      now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1711255062 {#4068
      date: 2024-03-24 05:37:42.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@Moonrise2473@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4063 …}
    +nested: Doctrine\ORM\PersistentCollection {#4054 …}
    +votes: Doctrine\ORM\PersistentCollection {#4057 …}
    +reports: Doctrine\ORM\PersistentCollection {#4052 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
    -id: 273088
    -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4682424"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704194921 {#4069
      date: 2024-01-02 12:28:41.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4062}
  +body: """
    I fixed it:\n
    \n
    for future reference:\n
    \n
    - from docs.docker.com/engine/security/rootless/#uninsta…, run `dockerd-rootless-setuptool.sh uninstall`\n
    - delete the user data (**warning**: i wasn’t using any docker volumes and i had no data to lose!!!) using the command that the previous script tells you\n
    - add your user to the docker group and use the traditional “run docker as root” way: docs.docker.com/engine/…/linux-postinstall/#manag…
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1704195952 {#4174
    date: 2024-01-02 12:45:52.0 +01:00
  }
  +ip: null
  +tags: [
    "uninsta"
    "manag"
  ]
  +mentions: [
    "@Moonrise2473@feddit.it"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4170 …}
  +nested: Doctrine\ORM\PersistentCollection {#4166 …}
  +votes: Doctrine\ORM\PersistentCollection {#4164 …}
  +reports: Doctrine\ORM\PersistentCollection {#4179 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4181 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
  -id: 273122
  -bodyTs: "'/engine/':60 '/engine/security/rootless/#uninsta':10 '/linux-postinstall':61 'add':42 'command':35 'data':17,30 'delet':14 'docker':24,47,54 'dockerd-rootless-setuptool.sh':12 'docs.docker.com':9,59 'docs.docker.com/engine/':58 'docs.docker.com/engine/security/rootless/#uninsta':8 'fix':2 'futur':5 'group':48 'lose':32 'manag':62 'previous':38 'refer':6 'root':56 'run':11,53 'script':39 'tell':40 'tradit':52 'uninstal':13 'use':22,33,50 'user':16,44 'volum':25 'warn':18 'wasn':20 'way':57"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.it/comment/4682586"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704195952 {#4177
    date: 2024-01-02 12:45:52.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
45 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
46 DENIED moderate
App\Entity\EntryComment {#4240
  +user: Proxies\__CG__\App\Entity\User {#4243 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4173
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4062
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        checked .bash_history, looks like i installed docker in the new rootless mode\n
        \n
        ```\n
        \n
        <span style="color:#323232;">wget get.docker.com\n
        </span><span style="color:#323232;">ls\n
        </span><span style="color:#323232;">mv index.html docker.sh\n
        </span><span style="color:#323232;">chmod +x docker.sh\n
        </span><span style="color:#323232;">./docker.sh\n
        </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
        </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
        </span><span style="color:#323232;">sudo apt install uidmap\n
        </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
        </span>\n
        ```\n
        \n
        now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 5
      +score: 0
      +lastActive: DateTime @1711255062 {#4068
        date: 2024-03-24 05:37:42.0 +01:00
      }
      +ip: null
      +tags: [
        "323232"
      ]
      +mentions: [
        "@Moonrise2473@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4063 …}
      +nested: Doctrine\ORM\PersistentCollection {#4054 …}
      +votes: Doctrine\ORM\PersistentCollection {#4057 …}
      +reports: Doctrine\ORM\PersistentCollection {#4052 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
      -id: 273088
      -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.it/comment/4682424"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704194921 {#4069
        date: 2024-01-02 12:28:41.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4062}
    +body: """
      I fixed it:\n
      \n
      for future reference:\n
      \n
      - from docs.docker.com/engine/security/rootless/#uninsta…, run `dockerd-rootless-setuptool.sh uninstall`\n
      - delete the user data (**warning**: i wasn’t using any docker volumes and i had no data to lose!!!) using the command that the previous script tells you\n
      - add your user to the docker group and use the traditional “run docker as root” way: docs.docker.com/engine/…/linux-postinstall/#manag…
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1704195952 {#4174
      date: 2024-01-02 12:45:52.0 +01:00
    }
    +ip: null
    +tags: [
      "uninsta"
      "manag"
    ]
    +mentions: [
      "@Moonrise2473@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4170 …}
    +nested: Doctrine\ORM\PersistentCollection {#4166 …}
    +votes: Doctrine\ORM\PersistentCollection {#4164 …}
    +reports: Doctrine\ORM\PersistentCollection {#4179 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4181 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
    -id: 273122
    -bodyTs: "'/engine/':60 '/engine/security/rootless/#uninsta':10 '/linux-postinstall':61 'add':42 'command':35 'data':17,30 'delet':14 'docker':24,47,54 'dockerd-rootless-setuptool.sh':12 'docs.docker.com':9,59 'docs.docker.com/engine/':58 'docs.docker.com/engine/security/rootless/#uninsta':8 'fix':2 'futur':5 'group':48 'lose':32 'manag':62 'previous':38 'refer':6 'root':56 'run':11,53 'script':39 'tell':40 'tradit':52 'uninstal':13 'use':22,33,50 'user':16,44 'volum':25 'warn':18 'wasn':20 'way':57"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4682586"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704195952 {#4177
      date: 2024-01-02 12:45:52.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4062}
  +body: "Why go through all of that complexity when you could just `sudo apt install docker`?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 7
  +score: 0
  +lastActive: DateTime @1704197511 {#4239
    date: 2024-01-02 13:11:51.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4247 …}
  +nested: Doctrine\ORM\PersistentCollection {#4249 …}
  +votes: Doctrine\ORM\PersistentCollection {#4245 …}
  +reports: Doctrine\ORM\PersistentCollection {#4251 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4255 …}
  -id: 273200
  -bodyTs: "'apt':13 'complex':7 'could':10 'docker':15 'go':2 'instal':14 'sudo':12"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7009410"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704197511 {#4236
    date: 2024-01-02 13:11:51.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
47 DENIED edit
App\Entity\EntryComment {#4240
  +user: Proxies\__CG__\App\Entity\User {#4243 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4173
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4062
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        checked .bash_history, looks like i installed docker in the new rootless mode\n
        \n
        ```\n
        \n
        <span style="color:#323232;">wget get.docker.com\n
        </span><span style="color:#323232;">ls\n
        </span><span style="color:#323232;">mv index.html docker.sh\n
        </span><span style="color:#323232;">chmod +x docker.sh\n
        </span><span style="color:#323232;">./docker.sh\n
        </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
        </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
        </span><span style="color:#323232;">sudo apt install uidmap\n
        </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
        </span>\n
        ```\n
        \n
        now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 5
      +score: 0
      +lastActive: DateTime @1711255062 {#4068
        date: 2024-03-24 05:37:42.0 +01:00
      }
      +ip: null
      +tags: [
        "323232"
      ]
      +mentions: [
        "@Moonrise2473@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4063 …}
      +nested: Doctrine\ORM\PersistentCollection {#4054 …}
      +votes: Doctrine\ORM\PersistentCollection {#4057 …}
      +reports: Doctrine\ORM\PersistentCollection {#4052 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
      -id: 273088
      -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.it/comment/4682424"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704194921 {#4069
        date: 2024-01-02 12:28:41.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4062}
    +body: """
      I fixed it:\n
      \n
      for future reference:\n
      \n
      - from docs.docker.com/engine/security/rootless/#uninsta…, run `dockerd-rootless-setuptool.sh uninstall`\n
      - delete the user data (**warning**: i wasn’t using any docker volumes and i had no data to lose!!!) using the command that the previous script tells you\n
      - add your user to the docker group and use the traditional “run docker as root” way: docs.docker.com/engine/…/linux-postinstall/#manag…
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1704195952 {#4174
      date: 2024-01-02 12:45:52.0 +01:00
    }
    +ip: null
    +tags: [
      "uninsta"
      "manag"
    ]
    +mentions: [
      "@Moonrise2473@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4170 …}
    +nested: Doctrine\ORM\PersistentCollection {#4166 …}
    +votes: Doctrine\ORM\PersistentCollection {#4164 …}
    +reports: Doctrine\ORM\PersistentCollection {#4179 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4181 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
    -id: 273122
    -bodyTs: "'/engine/':60 '/engine/security/rootless/#uninsta':10 '/linux-postinstall':61 'add':42 'command':35 'data':17,30 'delet':14 'docker':24,47,54 'dockerd-rootless-setuptool.sh':12 'docs.docker.com':9,59 'docs.docker.com/engine/':58 'docs.docker.com/engine/security/rootless/#uninsta':8 'fix':2 'futur':5 'group':48 'lose':32 'manag':62 'previous':38 'refer':6 'root':56 'run':11,53 'script':39 'tell':40 'tradit':52 'uninstal':13 'use':22,33,50 'user':16,44 'volum':25 'warn':18 'wasn':20 'way':57"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4682586"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704195952 {#4177
      date: 2024-01-02 12:45:52.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4062}
  +body: "Why go through all of that complexity when you could just `sudo apt install docker`?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 7
  +score: 0
  +lastActive: DateTime @1704197511 {#4239
    date: 2024-01-02 13:11:51.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4247 …}
  +nested: Doctrine\ORM\PersistentCollection {#4249 …}
  +votes: Doctrine\ORM\PersistentCollection {#4245 …}
  +reports: Doctrine\ORM\PersistentCollection {#4251 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4255 …}
  -id: 273200
  -bodyTs: "'apt':13 'complex':7 'could':10 'docker':15 'go':2 'instal':14 'sudo':12"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7009410"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704197511 {#4236
    date: 2024-01-02 13:11:51.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
48 DENIED moderate
App\Entity\EntryComment {#4240
  +user: Proxies\__CG__\App\Entity\User {#4243 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4173
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4062
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        checked .bash_history, looks like i installed docker in the new rootless mode\n
        \n
        ```\n
        \n
        <span style="color:#323232;">wget get.docker.com\n
        </span><span style="color:#323232;">ls\n
        </span><span style="color:#323232;">mv index.html docker.sh\n
        </span><span style="color:#323232;">chmod +x docker.sh\n
        </span><span style="color:#323232;">./docker.sh\n
        </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
        </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
        </span><span style="color:#323232;">sudo apt install uidmap\n
        </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
        </span>\n
        ```\n
        \n
        now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 5
      +score: 0
      +lastActive: DateTime @1711255062 {#4068
        date: 2024-03-24 05:37:42.0 +01:00
      }
      +ip: null
      +tags: [
        "323232"
      ]
      +mentions: [
        "@Moonrise2473@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4063 …}
      +nested: Doctrine\ORM\PersistentCollection {#4054 …}
      +votes: Doctrine\ORM\PersistentCollection {#4057 …}
      +reports: Doctrine\ORM\PersistentCollection {#4052 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
      -id: 273088
      -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.it/comment/4682424"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704194921 {#4069
        date: 2024-01-02 12:28:41.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4062}
    +body: """
      I fixed it:\n
      \n
      for future reference:\n
      \n
      - from docs.docker.com/engine/security/rootless/#uninsta…, run `dockerd-rootless-setuptool.sh uninstall`\n
      - delete the user data (**warning**: i wasn’t using any docker volumes and i had no data to lose!!!) using the command that the previous script tells you\n
      - add your user to the docker group and use the traditional “run docker as root” way: docs.docker.com/engine/…/linux-postinstall/#manag…
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1704195952 {#4174
      date: 2024-01-02 12:45:52.0 +01:00
    }
    +ip: null
    +tags: [
      "uninsta"
      "manag"
    ]
    +mentions: [
      "@Moonrise2473@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4170 …}
    +nested: Doctrine\ORM\PersistentCollection {#4166 …}
    +votes: Doctrine\ORM\PersistentCollection {#4164 …}
    +reports: Doctrine\ORM\PersistentCollection {#4179 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4181 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
    -id: 273122
    -bodyTs: "'/engine/':60 '/engine/security/rootless/#uninsta':10 '/linux-postinstall':61 'add':42 'command':35 'data':17,30 'delet':14 'docker':24,47,54 'dockerd-rootless-setuptool.sh':12 'docs.docker.com':9,59 'docs.docker.com/engine/':58 'docs.docker.com/engine/security/rootless/#uninsta':8 'fix':2 'futur':5 'group':48 'lose':32 'manag':62 'previous':38 'refer':6 'root':56 'run':11,53 'script':39 'tell':40 'tradit':52 'uninstal':13 'use':22,33,50 'user':16,44 'volum':25 'warn':18 'wasn':20 'way':57"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4682586"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704195952 {#4177
      date: 2024-01-02 12:45:52.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4062}
  +body: "Why go through all of that complexity when you could just `sudo apt install docker`?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 7
  +score: 0
  +lastActive: DateTime @1704197511 {#4239
    date: 2024-01-02 13:11:51.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4247 …}
  +nested: Doctrine\ORM\PersistentCollection {#4249 …}
  +votes: Doctrine\ORM\PersistentCollection {#4245 …}
  +reports: Doctrine\ORM\PersistentCollection {#4251 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4255 …}
  -id: 273200
  -bodyTs: "'apt':13 'complex':7 'could':10 'docker':15 'go':2 'instal':14 'sudo':12"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7009410"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704197511 {#4236
    date: 2024-01-02 13:11:51.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
49 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
50 DENIED moderate
App\Entity\EntryComment {#4297
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4240
    +user: Proxies\__CG__\App\Entity\User {#4243 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4173
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4062
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          checked .bash_history, looks like i installed docker in the new rootless mode\n
          \n
          ```\n
          \n
          <span style="color:#323232;">wget get.docker.com\n
          </span><span style="color:#323232;">ls\n
          </span><span style="color:#323232;">mv index.html docker.sh\n
          </span><span style="color:#323232;">chmod +x docker.sh\n
          </span><span style="color:#323232;">./docker.sh\n
          </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
          </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
          </span><span style="color:#323232;">sudo apt install uidmap\n
          </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
          </span>\n
          ```\n
          \n
          now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 5
        +score: 0
        +lastActive: DateTime @1711255062 {#4068
          date: 2024-03-24 05:37:42.0 +01:00
        }
        +ip: null
        +tags: [
          "323232"
        ]
        +mentions: [
          "@Moonrise2473@feddit.it"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4063 …}
        +nested: Doctrine\ORM\PersistentCollection {#4054 …}
        +votes: Doctrine\ORM\PersistentCollection {#4057 …}
        +reports: Doctrine\ORM\PersistentCollection {#4052 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
        -id: 273088
        -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.it/comment/4682424"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704194921 {#4069
          date: 2024-01-02 12:28:41.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4062}
      +body: """
        I fixed it:\n
        \n
        for future reference:\n
        \n
        - from docs.docker.com/engine/security/rootless/#uninsta…, run `dockerd-rootless-setuptool.sh uninstall`\n
        - delete the user data (**warning**: i wasn’t using any docker volumes and i had no data to lose!!!) using the command that the previous script tells you\n
        - add your user to the docker group and use the traditional “run docker as root” way: docs.docker.com/engine/…/linux-postinstall/#manag…
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 5
      +score: 0
      +lastActive: DateTime @1704195952 {#4174
        date: 2024-01-02 12:45:52.0 +01:00
      }
      +ip: null
      +tags: [
        "uninsta"
        "manag"
      ]
      +mentions: [
        "@Moonrise2473@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4170 …}
      +nested: Doctrine\ORM\PersistentCollection {#4166 …}
      +votes: Doctrine\ORM\PersistentCollection {#4164 …}
      +reports: Doctrine\ORM\PersistentCollection {#4179 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      -id: 273122
      -bodyTs: "'/engine/':60 '/engine/security/rootless/#uninsta':10 '/linux-postinstall':61 'add':42 'command':35 'data':17,30 'delet':14 'docker':24,47,54 'dockerd-rootless-setuptool.sh':12 'docs.docker.com':9,59 'docs.docker.com/engine/':58 'docs.docker.com/engine/security/rootless/#uninsta':8 'fix':2 'futur':5 'group':48 'lose':32 'manag':62 'previous':38 'refer':6 'root':56 'run':11,53 'script':39 'tell':40 'tradit':52 'uninstal':13 'use':22,33,50 'user':16,44 'volum':25 'warn':18 'wasn':20 'way':57"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.it/comment/4682586"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704195952 {#4177
        date: 2024-01-02 12:45:52.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4062}
    +body: "Why go through all of that complexity when you could just `sudo apt install docker`?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 7
    +score: 0
    +lastActive: DateTime @1704197511 {#4239
      date: 2024-01-02 13:11:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4247 …}
    +nested: Doctrine\ORM\PersistentCollection {#4249 …}
    +votes: Doctrine\ORM\PersistentCollection {#4245 …}
    +reports: Doctrine\ORM\PersistentCollection {#4251 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4255 …}
    -id: 273200
    -bodyTs: "'apt':13 'complex':7 'could':10 'docker':15 'go':2 'instal':14 'sudo':12"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7009410"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704197511 {#4236
      date: 2024-01-02 13:11:51.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4062}
  +body: "i don’t want to type `sudo` before each single `docker` command"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704199665 {#4298
    date: 2024-01-02 13:47:45.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Atemu@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4294 …}
  +nested: Doctrine\ORM\PersistentCollection {#4290 …}
  +votes: Doctrine\ORM\PersistentCollection {#4288 …}
  +reports: Doctrine\ORM\PersistentCollection {#4303 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
  -id: 273298
  -bodyTs: "'command':12 'docker':11 'singl':10 'sudo':7 'type':6 'want':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.it/comment/4683262"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704199665 {#4301
    date: 2024-01-02 13:47:45.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
51 DENIED edit
App\Entity\EntryComment {#4297
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4240
    +user: Proxies\__CG__\App\Entity\User {#4243 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4173
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4062
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          checked .bash_history, looks like i installed docker in the new rootless mode\n
          \n
          ```\n
          \n
          <span style="color:#323232;">wget get.docker.com\n
          </span><span style="color:#323232;">ls\n
          </span><span style="color:#323232;">mv index.html docker.sh\n
          </span><span style="color:#323232;">chmod +x docker.sh\n
          </span><span style="color:#323232;">./docker.sh\n
          </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
          </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
          </span><span style="color:#323232;">sudo apt install uidmap\n
          </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
          </span>\n
          ```\n
          \n
          now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 5
        +score: 0
        +lastActive: DateTime @1711255062 {#4068
          date: 2024-03-24 05:37:42.0 +01:00
        }
        +ip: null
        +tags: [
          "323232"
        ]
        +mentions: [
          "@Moonrise2473@feddit.it"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4063 …}
        +nested: Doctrine\ORM\PersistentCollection {#4054 …}
        +votes: Doctrine\ORM\PersistentCollection {#4057 …}
        +reports: Doctrine\ORM\PersistentCollection {#4052 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
        -id: 273088
        -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.it/comment/4682424"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704194921 {#4069
          date: 2024-01-02 12:28:41.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4062}
      +body: """
        I fixed it:\n
        \n
        for future reference:\n
        \n
        - from docs.docker.com/engine/security/rootless/#uninsta…, run `dockerd-rootless-setuptool.sh uninstall`\n
        - delete the user data (**warning**: i wasn’t using any docker volumes and i had no data to lose!!!) using the command that the previous script tells you\n
        - add your user to the docker group and use the traditional “run docker as root” way: docs.docker.com/engine/…/linux-postinstall/#manag…
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 5
      +score: 0
      +lastActive: DateTime @1704195952 {#4174
        date: 2024-01-02 12:45:52.0 +01:00
      }
      +ip: null
      +tags: [
        "uninsta"
        "manag"
      ]
      +mentions: [
        "@Moonrise2473@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4170 …}
      +nested: Doctrine\ORM\PersistentCollection {#4166 …}
      +votes: Doctrine\ORM\PersistentCollection {#4164 …}
      +reports: Doctrine\ORM\PersistentCollection {#4179 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      -id: 273122
      -bodyTs: "'/engine/':60 '/engine/security/rootless/#uninsta':10 '/linux-postinstall':61 'add':42 'command':35 'data':17,30 'delet':14 'docker':24,47,54 'dockerd-rootless-setuptool.sh':12 'docs.docker.com':9,59 'docs.docker.com/engine/':58 'docs.docker.com/engine/security/rootless/#uninsta':8 'fix':2 'futur':5 'group':48 'lose':32 'manag':62 'previous':38 'refer':6 'root':56 'run':11,53 'script':39 'tell':40 'tradit':52 'uninstal':13 'use':22,33,50 'user':16,44 'volum':25 'warn':18 'wasn':20 'way':57"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.it/comment/4682586"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704195952 {#4177
        date: 2024-01-02 12:45:52.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4062}
    +body: "Why go through all of that complexity when you could just `sudo apt install docker`?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 7
    +score: 0
    +lastActive: DateTime @1704197511 {#4239
      date: 2024-01-02 13:11:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4247 …}
    +nested: Doctrine\ORM\PersistentCollection {#4249 …}
    +votes: Doctrine\ORM\PersistentCollection {#4245 …}
    +reports: Doctrine\ORM\PersistentCollection {#4251 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4255 …}
    -id: 273200
    -bodyTs: "'apt':13 'complex':7 'could':10 'docker':15 'go':2 'instal':14 'sudo':12"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7009410"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704197511 {#4236
      date: 2024-01-02 13:11:51.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4062}
  +body: "i don’t want to type `sudo` before each single `docker` command"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704199665 {#4298
    date: 2024-01-02 13:47:45.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Atemu@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4294 …}
  +nested: Doctrine\ORM\PersistentCollection {#4290 …}
  +votes: Doctrine\ORM\PersistentCollection {#4288 …}
  +reports: Doctrine\ORM\PersistentCollection {#4303 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
  -id: 273298
  -bodyTs: "'command':12 'docker':11 'singl':10 'sudo':7 'type':6 'want':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.it/comment/4683262"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704199665 {#4301
    date: 2024-01-02 13:47:45.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
52 DENIED moderate
App\Entity\EntryComment {#4297
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4240
    +user: Proxies\__CG__\App\Entity\User {#4243 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4173
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4062
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          checked .bash_history, looks like i installed docker in the new rootless mode\n
          \n
          ```\n
          \n
          <span style="color:#323232;">wget get.docker.com\n
          </span><span style="color:#323232;">ls\n
          </span><span style="color:#323232;">mv index.html docker.sh\n
          </span><span style="color:#323232;">chmod +x docker.sh\n
          </span><span style="color:#323232;">./docker.sh\n
          </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
          </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
          </span><span style="color:#323232;">sudo apt install uidmap\n
          </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
          </span>\n
          ```\n
          \n
          now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 5
        +score: 0
        +lastActive: DateTime @1711255062 {#4068
          date: 2024-03-24 05:37:42.0 +01:00
        }
        +ip: null
        +tags: [
          "323232"
        ]
        +mentions: [
          "@Moonrise2473@feddit.it"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4063 …}
        +nested: Doctrine\ORM\PersistentCollection {#4054 …}
        +votes: Doctrine\ORM\PersistentCollection {#4057 …}
        +reports: Doctrine\ORM\PersistentCollection {#4052 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
        -id: 273088
        -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.it/comment/4682424"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704194921 {#4069
          date: 2024-01-02 12:28:41.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4062}
      +body: """
        I fixed it:\n
        \n
        for future reference:\n
        \n
        - from docs.docker.com/engine/security/rootless/#uninsta…, run `dockerd-rootless-setuptool.sh uninstall`\n
        - delete the user data (**warning**: i wasn’t using any docker volumes and i had no data to lose!!!) using the command that the previous script tells you\n
        - add your user to the docker group and use the traditional “run docker as root” way: docs.docker.com/engine/…/linux-postinstall/#manag…
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 5
      +score: 0
      +lastActive: DateTime @1704195952 {#4174
        date: 2024-01-02 12:45:52.0 +01:00
      }
      +ip: null
      +tags: [
        "uninsta"
        "manag"
      ]
      +mentions: [
        "@Moonrise2473@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4170 …}
      +nested: Doctrine\ORM\PersistentCollection {#4166 …}
      +votes: Doctrine\ORM\PersistentCollection {#4164 …}
      +reports: Doctrine\ORM\PersistentCollection {#4179 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4181 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
      -id: 273122
      -bodyTs: "'/engine/':60 '/engine/security/rootless/#uninsta':10 '/linux-postinstall':61 'add':42 'command':35 'data':17,30 'delet':14 'docker':24,47,54 'dockerd-rootless-setuptool.sh':12 'docs.docker.com':9,59 'docs.docker.com/engine/':58 'docs.docker.com/engine/security/rootless/#uninsta':8 'fix':2 'futur':5 'group':48 'lose':32 'manag':62 'previous':38 'refer':6 'root':56 'run':11,53 'script':39 'tell':40 'tradit':52 'uninstal':13 'use':22,33,50 'user':16,44 'volum':25 'warn':18 'wasn':20 'way':57"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.it/comment/4682586"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704195952 {#4177
        date: 2024-01-02 12:45:52.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4062}
    +body: "Why go through all of that complexity when you could just `sudo apt install docker`?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 7
    +score: 0
    +lastActive: DateTime @1704197511 {#4239
      date: 2024-01-02 13:11:51.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4247 …}
    +nested: Doctrine\ORM\PersistentCollection {#4249 …}
    +votes: Doctrine\ORM\PersistentCollection {#4245 …}
    +reports: Doctrine\ORM\PersistentCollection {#4251 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4255 …}
    -id: 273200
    -bodyTs: "'apt':13 'complex':7 'could':10 'docker':15 'go':2 'instal':14 'sudo':12"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7009410"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704197511 {#4236
      date: 2024-01-02 13:11:51.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4062}
  +body: "i don’t want to type `sudo` before each single `docker` command"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704199665 {#4298
    date: 2024-01-02 13:47:45.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Atemu@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4294 …}
  +nested: Doctrine\ORM\PersistentCollection {#4290 …}
  +votes: Doctrine\ORM\PersistentCollection {#4288 …}
  +reports: Doctrine\ORM\PersistentCollection {#4303 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
  -id: 273298
  -bodyTs: "'command':12 'docker':11 'singl':10 'sudo':7 'type':6 'want':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.it/comment/4683262"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704199665 {#4301
    date: 2024-01-02 13:47:45.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
53 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
54 DENIED moderate
App\Entity\EntryComment {#4325
  +user: Proxies\__CG__\App\Entity\User {#4333 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4297
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4240
      +user: Proxies\__CG__\App\Entity\User {#4243 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4173
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4062
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: null
          +root: null
          +body: """
            checked .bash_history, looks like i installed docker in the new rootless mode\n
            \n
            ```\n
            \n
            <span style="color:#323232;">wget get.docker.com\n
            </span><span style="color:#323232;">ls\n
            </span><span style="color:#323232;">mv index.html docker.sh\n
            </span><span style="color:#323232;">chmod +x docker.sh\n
            </span><span style="color:#323232;">./docker.sh\n
            </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
            </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
            </span><span style="color:#323232;">sudo apt install uidmap\n
            </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
            </span>\n
            ```\n
            \n
            now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 5
          +score: 0
          +lastActive: DateTime @1711255062 {#4068
            date: 2024-03-24 05:37:42.0 +01:00
          }
          +ip: null
          +tags: [
            "323232"
          ]
          +mentions: [
            "@Moonrise2473@feddit.it"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4063 …}
          +nested: Doctrine\ORM\PersistentCollection {#4054 …}
          +votes: Doctrine\ORM\PersistentCollection {#4057 …}
          +reports: Doctrine\ORM\PersistentCollection {#4052 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
          -id: 273088
          -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://feddit.it/comment/4682424"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704194921 {#4069
            date: 2024-01-02 12:28:41.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4062}
        +body: """
          I fixed it:\n
          \n
          for future reference:\n
          \n
          - from docs.docker.com/engine/security/rootless/#uninsta…, run `dockerd-rootless-setuptool.sh uninstall`\n
          - delete the user data (**warning**: i wasn’t using any docker volumes and i had no data to lose!!!) using the command that the previous script tells you\n
          - add your user to the docker group and use the traditional “run docker as root” way: docs.docker.com/engine/…/linux-postinstall/#manag…
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 5
        +score: 0
        +lastActive: DateTime @1704195952 {#4174
          date: 2024-01-02 12:45:52.0 +01:00
        }
        +ip: null
        +tags: [
          "uninsta"
          "manag"
        ]
        +mentions: [
          "@Moonrise2473@feddit.it"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4170 …}
        +nested: Doctrine\ORM\PersistentCollection {#4166 …}
        +votes: Doctrine\ORM\PersistentCollection {#4164 …}
        +reports: Doctrine\ORM\PersistentCollection {#4179 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4181 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
        -id: 273122
        -bodyTs: "'/engine/':60 '/engine/security/rootless/#uninsta':10 '/linux-postinstall':61 'add':42 'command':35 'data':17,30 'delet':14 'docker':24,47,54 'dockerd-rootless-setuptool.sh':12 'docs.docker.com':9,59 'docs.docker.com/engine/':58 'docs.docker.com/engine/security/rootless/#uninsta':8 'fix':2 'futur':5 'group':48 'lose':32 'manag':62 'previous':38 'refer':6 'root':56 'run':11,53 'script':39 'tell':40 'tradit':52 'uninstal':13 'use':22,33,50 'user':16,44 'volum':25 'warn':18 'wasn':20 'way':57"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.it/comment/4682586"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704195952 {#4177
          date: 2024-01-02 12:45:52.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4062}
      +body: "Why go through all of that complexity when you could just `sudo apt install docker`?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 7
      +score: 0
      +lastActive: DateTime @1704197511 {#4239
        date: 2024-01-02 13:11:51.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Moonrise2473@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4247 …}
      +nested: Doctrine\ORM\PersistentCollection {#4249 …}
      +votes: Doctrine\ORM\PersistentCollection {#4245 …}
      +reports: Doctrine\ORM\PersistentCollection {#4251 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4255 …}
      -id: 273200
      -bodyTs: "'apt':13 'complex':7 'could':10 'docker':15 'go':2 'instal':14 'sudo':12"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7009410"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704197511 {#4236
        date: 2024-01-02 13:11:51.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4062}
    +body: "i don’t want to type `sudo` before each single `docker` command"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1704199665 {#4298
      date: 2024-01-02 13:47:45.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Atemu@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4294 …}
    +nested: Doctrine\ORM\PersistentCollection {#4290 …}
    +votes: Doctrine\ORM\PersistentCollection {#4288 …}
    +reports: Doctrine\ORM\PersistentCollection {#4303 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
    -id: 273298
    -bodyTs: "'command':12 'docker':11 'singl':10 'sudo':7 'type':6 'want':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4683262"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704199665 {#4301
      date: 2024-01-02 13:47:45.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4062}
  +body: "So add your user to the new docker group made on install of that package and you’ll be able to docker without sudo. You may need to relogin or `newgrp docker` before it works tho"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1704209207 {#4330
    date: 2024-01-02 16:26:47.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Atemu@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4336 …}
  +nested: Doctrine\ORM\PersistentCollection {#4338 …}
  +votes: Doctrine\ORM\PersistentCollection {#4334 …}
  +reports: Doctrine\ORM\PersistentCollection {#4341 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4343 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4345 …}
  -id: 273650
  -bodyTs: "'abl':20 'add':2 'docker':8,22,32 'group':9 'instal':12 'll':18 'made':10 'may':26 'need':27 'new':7 'newgrp':31 'packag':15 'relogin':29 'sudo':24 'tho':36 'user':4 'without':23 'work':35"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://infosec.pub/comment/5360053"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704209207 {#4327
    date: 2024-01-02 16:26:47.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
55 DENIED edit
App\Entity\EntryComment {#4325
  +user: Proxies\__CG__\App\Entity\User {#4333 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4297
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4240
      +user: Proxies\__CG__\App\Entity\User {#4243 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4173
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4062
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: null
          +root: null
          +body: """
            checked .bash_history, looks like i installed docker in the new rootless mode\n
            \n
            ```\n
            \n
            <span style="color:#323232;">wget get.docker.com\n
            </span><span style="color:#323232;">ls\n
            </span><span style="color:#323232;">mv index.html docker.sh\n
            </span><span style="color:#323232;">chmod +x docker.sh\n
            </span><span style="color:#323232;">./docker.sh\n
            </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
            </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
            </span><span style="color:#323232;">sudo apt install uidmap\n
            </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
            </span>\n
            ```\n
            \n
            now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 5
          +score: 0
          +lastActive: DateTime @1711255062 {#4068
            date: 2024-03-24 05:37:42.0 +01:00
          }
          +ip: null
          +tags: [
            "323232"
          ]
          +mentions: [
            "@Moonrise2473@feddit.it"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4063 …}
          +nested: Doctrine\ORM\PersistentCollection {#4054 …}
          +votes: Doctrine\ORM\PersistentCollection {#4057 …}
          +reports: Doctrine\ORM\PersistentCollection {#4052 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
          -id: 273088
          -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://feddit.it/comment/4682424"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704194921 {#4069
            date: 2024-01-02 12:28:41.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4062}
        +body: """
          I fixed it:\n
          \n
          for future reference:\n
          \n
          - from docs.docker.com/engine/security/rootless/#uninsta…, run `dockerd-rootless-setuptool.sh uninstall`\n
          - delete the user data (**warning**: i wasn’t using any docker volumes and i had no data to lose!!!) using the command that the previous script tells you\n
          - add your user to the docker group and use the traditional “run docker as root” way: docs.docker.com/engine/…/linux-postinstall/#manag…
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 5
        +score: 0
        +lastActive: DateTime @1704195952 {#4174
          date: 2024-01-02 12:45:52.0 +01:00
        }
        +ip: null
        +tags: [
          "uninsta"
          "manag"
        ]
        +mentions: [
          "@Moonrise2473@feddit.it"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4170 …}
        +nested: Doctrine\ORM\PersistentCollection {#4166 …}
        +votes: Doctrine\ORM\PersistentCollection {#4164 …}
        +reports: Doctrine\ORM\PersistentCollection {#4179 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4181 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
        -id: 273122
        -bodyTs: "'/engine/':60 '/engine/security/rootless/#uninsta':10 '/linux-postinstall':61 'add':42 'command':35 'data':17,30 'delet':14 'docker':24,47,54 'dockerd-rootless-setuptool.sh':12 'docs.docker.com':9,59 'docs.docker.com/engine/':58 'docs.docker.com/engine/security/rootless/#uninsta':8 'fix':2 'futur':5 'group':48 'lose':32 'manag':62 'previous':38 'refer':6 'root':56 'run':11,53 'script':39 'tell':40 'tradit':52 'uninstal':13 'use':22,33,50 'user':16,44 'volum':25 'warn':18 'wasn':20 'way':57"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.it/comment/4682586"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704195952 {#4177
          date: 2024-01-02 12:45:52.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4062}
      +body: "Why go through all of that complexity when you could just `sudo apt install docker`?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 7
      +score: 0
      +lastActive: DateTime @1704197511 {#4239
        date: 2024-01-02 13:11:51.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Moonrise2473@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4247 …}
      +nested: Doctrine\ORM\PersistentCollection {#4249 …}
      +votes: Doctrine\ORM\PersistentCollection {#4245 …}
      +reports: Doctrine\ORM\PersistentCollection {#4251 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4255 …}
      -id: 273200
      -bodyTs: "'apt':13 'complex':7 'could':10 'docker':15 'go':2 'instal':14 'sudo':12"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7009410"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704197511 {#4236
        date: 2024-01-02 13:11:51.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4062}
    +body: "i don’t want to type `sudo` before each single `docker` command"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1704199665 {#4298
      date: 2024-01-02 13:47:45.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Atemu@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4294 …}
    +nested: Doctrine\ORM\PersistentCollection {#4290 …}
    +votes: Doctrine\ORM\PersistentCollection {#4288 …}
    +reports: Doctrine\ORM\PersistentCollection {#4303 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
    -id: 273298
    -bodyTs: "'command':12 'docker':11 'singl':10 'sudo':7 'type':6 'want':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4683262"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704199665 {#4301
      date: 2024-01-02 13:47:45.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4062}
  +body: "So add your user to the new docker group made on install of that package and you’ll be able to docker without sudo. You may need to relogin or `newgrp docker` before it works tho"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1704209207 {#4330
    date: 2024-01-02 16:26:47.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Atemu@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4336 …}
  +nested: Doctrine\ORM\PersistentCollection {#4338 …}
  +votes: Doctrine\ORM\PersistentCollection {#4334 …}
  +reports: Doctrine\ORM\PersistentCollection {#4341 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4343 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4345 …}
  -id: 273650
  -bodyTs: "'abl':20 'add':2 'docker':8,22,32 'group':9 'instal':12 'll':18 'made':10 'may':26 'need':27 'new':7 'newgrp':31 'packag':15 'relogin':29 'sudo':24 'tho':36 'user':4 'without':23 'work':35"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://infosec.pub/comment/5360053"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704209207 {#4327
    date: 2024-01-02 16:26:47.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
56 DENIED moderate
App\Entity\EntryComment {#4325
  +user: Proxies\__CG__\App\Entity\User {#4333 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4297
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4240
      +user: Proxies\__CG__\App\Entity\User {#4243 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4173
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4062
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: null
          +root: null
          +body: """
            checked .bash_history, looks like i installed docker in the new rootless mode\n
            \n
            ```\n
            \n
            <span style="color:#323232;">wget get.docker.com\n
            </span><span style="color:#323232;">ls\n
            </span><span style="color:#323232;">mv index.html docker.sh\n
            </span><span style="color:#323232;">chmod +x docker.sh\n
            </span><span style="color:#323232;">./docker.sh\n
            </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
            </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
            </span><span style="color:#323232;">sudo apt install uidmap\n
            </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
            </span>\n
            ```\n
            \n
            now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 5
          +score: 0
          +lastActive: DateTime @1711255062 {#4068
            date: 2024-03-24 05:37:42.0 +01:00
          }
          +ip: null
          +tags: [
            "323232"
          ]
          +mentions: [
            "@Moonrise2473@feddit.it"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4063 …}
          +nested: Doctrine\ORM\PersistentCollection {#4054 …}
          +votes: Doctrine\ORM\PersistentCollection {#4057 …}
          +reports: Doctrine\ORM\PersistentCollection {#4052 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
          -id: 273088
          -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://feddit.it/comment/4682424"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704194921 {#4069
            date: 2024-01-02 12:28:41.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4062}
        +body: """
          I fixed it:\n
          \n
          for future reference:\n
          \n
          - from docs.docker.com/engine/security/rootless/#uninsta…, run `dockerd-rootless-setuptool.sh uninstall`\n
          - delete the user data (**warning**: i wasn’t using any docker volumes and i had no data to lose!!!) using the command that the previous script tells you\n
          - add your user to the docker group and use the traditional “run docker as root” way: docs.docker.com/engine/…/linux-postinstall/#manag…
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 5
        +score: 0
        +lastActive: DateTime @1704195952 {#4174
          date: 2024-01-02 12:45:52.0 +01:00
        }
        +ip: null
        +tags: [
          "uninsta"
          "manag"
        ]
        +mentions: [
          "@Moonrise2473@feddit.it"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4170 …}
        +nested: Doctrine\ORM\PersistentCollection {#4166 …}
        +votes: Doctrine\ORM\PersistentCollection {#4164 …}
        +reports: Doctrine\ORM\PersistentCollection {#4179 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4181 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
        -id: 273122
        -bodyTs: "'/engine/':60 '/engine/security/rootless/#uninsta':10 '/linux-postinstall':61 'add':42 'command':35 'data':17,30 'delet':14 'docker':24,47,54 'dockerd-rootless-setuptool.sh':12 'docs.docker.com':9,59 'docs.docker.com/engine/':58 'docs.docker.com/engine/security/rootless/#uninsta':8 'fix':2 'futur':5 'group':48 'lose':32 'manag':62 'previous':38 'refer':6 'root':56 'run':11,53 'script':39 'tell':40 'tradit':52 'uninstal':13 'use':22,33,50 'user':16,44 'volum':25 'warn':18 'wasn':20 'way':57"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.it/comment/4682586"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704195952 {#4177
          date: 2024-01-02 12:45:52.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4062}
      +body: "Why go through all of that complexity when you could just `sudo apt install docker`?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 7
      +score: 0
      +lastActive: DateTime @1704197511 {#4239
        date: 2024-01-02 13:11:51.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Moonrise2473@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4247 …}
      +nested: Doctrine\ORM\PersistentCollection {#4249 …}
      +votes: Doctrine\ORM\PersistentCollection {#4245 …}
      +reports: Doctrine\ORM\PersistentCollection {#4251 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4255 …}
      -id: 273200
      -bodyTs: "'apt':13 'complex':7 'could':10 'docker':15 'go':2 'instal':14 'sudo':12"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7009410"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704197511 {#4236
        date: 2024-01-02 13:11:51.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4062}
    +body: "i don’t want to type `sudo` before each single `docker` command"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1704199665 {#4298
      date: 2024-01-02 13:47:45.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Atemu@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4294 …}
    +nested: Doctrine\ORM\PersistentCollection {#4290 …}
    +votes: Doctrine\ORM\PersistentCollection {#4288 …}
    +reports: Doctrine\ORM\PersistentCollection {#4303 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
    -id: 273298
    -bodyTs: "'command':12 'docker':11 'singl':10 'sudo':7 'type':6 'want':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4683262"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704199665 {#4301
      date: 2024-01-02 13:47:45.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4062}
  +body: "So add your user to the new docker group made on install of that package and you’ll be able to docker without sudo. You may need to relogin or `newgrp docker` before it works tho"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1704209207 {#4330
    date: 2024-01-02 16:26:47.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Atemu@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4336 …}
  +nested: Doctrine\ORM\PersistentCollection {#4338 …}
  +votes: Doctrine\ORM\PersistentCollection {#4334 …}
  +reports: Doctrine\ORM\PersistentCollection {#4341 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4343 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4345 …}
  -id: 273650
  -bodyTs: "'abl':20 'add':2 'docker':8,22,32 'group':9 'instal':12 'll':18 'made':10 'may':26 'need':27 'new':7 'newgrp':31 'packag':15 'relogin':29 'sudo':24 'tho':36 'user':4 'without':23 'work':35"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://infosec.pub/comment/5360053"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704209207 {#4327
    date: 2024-01-02 16:26:47.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
57 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
58 DENIED moderate
App\Entity\EntryComment {#4350
  +user: Proxies\__CG__\App\Entity\User {#4351 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4297
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4240
      +user: Proxies\__CG__\App\Entity\User {#4243 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4173
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4062
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: null
          +root: null
          +body: """
            checked .bash_history, looks like i installed docker in the new rootless mode\n
            \n
            ```\n
            \n
            <span style="color:#323232;">wget get.docker.com\n
            </span><span style="color:#323232;">ls\n
            </span><span style="color:#323232;">mv index.html docker.sh\n
            </span><span style="color:#323232;">chmod +x docker.sh\n
            </span><span style="color:#323232;">./docker.sh\n
            </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
            </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
            </span><span style="color:#323232;">sudo apt install uidmap\n
            </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
            </span>\n
            ```\n
            \n
            now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 5
          +score: 0
          +lastActive: DateTime @1711255062 {#4068
            date: 2024-03-24 05:37:42.0 +01:00
          }
          +ip: null
          +tags: [
            "323232"
          ]
          +mentions: [
            "@Moonrise2473@feddit.it"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4063 …}
          +nested: Doctrine\ORM\PersistentCollection {#4054 …}
          +votes: Doctrine\ORM\PersistentCollection {#4057 …}
          +reports: Doctrine\ORM\PersistentCollection {#4052 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
          -id: 273088
          -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://feddit.it/comment/4682424"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704194921 {#4069
            date: 2024-01-02 12:28:41.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4062}
        +body: """
          I fixed it:\n
          \n
          for future reference:\n
          \n
          - from docs.docker.com/engine/security/rootless/#uninsta…, run `dockerd-rootless-setuptool.sh uninstall`\n
          - delete the user data (**warning**: i wasn’t using any docker volumes and i had no data to lose!!!) using the command that the previous script tells you\n
          - add your user to the docker group and use the traditional “run docker as root” way: docs.docker.com/engine/…/linux-postinstall/#manag…
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 5
        +score: 0
        +lastActive: DateTime @1704195952 {#4174
          date: 2024-01-02 12:45:52.0 +01:00
        }
        +ip: null
        +tags: [
          "uninsta"
          "manag"
        ]
        +mentions: [
          "@Moonrise2473@feddit.it"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4170 …}
        +nested: Doctrine\ORM\PersistentCollection {#4166 …}
        +votes: Doctrine\ORM\PersistentCollection {#4164 …}
        +reports: Doctrine\ORM\PersistentCollection {#4179 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4181 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
        -id: 273122
        -bodyTs: "'/engine/':60 '/engine/security/rootless/#uninsta':10 '/linux-postinstall':61 'add':42 'command':35 'data':17,30 'delet':14 'docker':24,47,54 'dockerd-rootless-setuptool.sh':12 'docs.docker.com':9,59 'docs.docker.com/engine/':58 'docs.docker.com/engine/security/rootless/#uninsta':8 'fix':2 'futur':5 'group':48 'lose':32 'manag':62 'previous':38 'refer':6 'root':56 'run':11,53 'script':39 'tell':40 'tradit':52 'uninstal':13 'use':22,33,50 'user':16,44 'volum':25 'warn':18 'wasn':20 'way':57"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.it/comment/4682586"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704195952 {#4177
          date: 2024-01-02 12:45:52.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4062}
      +body: "Why go through all of that complexity when you could just `sudo apt install docker`?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 7
      +score: 0
      +lastActive: DateTime @1704197511 {#4239
        date: 2024-01-02 13:11:51.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Moonrise2473@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4247 …}
      +nested: Doctrine\ORM\PersistentCollection {#4249 …}
      +votes: Doctrine\ORM\PersistentCollection {#4245 …}
      +reports: Doctrine\ORM\PersistentCollection {#4251 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4255 …}
      -id: 273200
      -bodyTs: "'apt':13 'complex':7 'could':10 'docker':15 'go':2 'instal':14 'sudo':12"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7009410"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704197511 {#4236
        date: 2024-01-02 13:11:51.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4062}
    +body: "i don’t want to type `sudo` before each single `docker` command"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1704199665 {#4298
      date: 2024-01-02 13:47:45.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Atemu@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4294 …}
    +nested: Doctrine\ORM\PersistentCollection {#4290 …}
    +votes: Doctrine\ORM\PersistentCollection {#4288 …}
    +reports: Doctrine\ORM\PersistentCollection {#4303 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
    -id: 273298
    -bodyTs: "'command':12 'docker':11 'singl':10 'sudo':7 'type':6 'want':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4683262"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704199665 {#4301
      date: 2024-01-02 13:47:45.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4062}
  +body: """
    You can do that with regular docker. Just add your user to the docker group.\n
    \n
    (don’t forget to log out and log in again after adding new groups to your user)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 12
  +score: 0
  +lastActive: DateTime @1704201142 {#4347
    date: 2024-01-02 14:12:22.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Atemu@lemmy.ml"
    "@Moonrise2473@feddit.it"
    "@Atemu@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4352 …}
  +nested: Doctrine\ORM\PersistentCollection {#4354 …}
  +votes: Doctrine\ORM\PersistentCollection {#4356 …}
  +reports: Doctrine\ORM\PersistentCollection {#4358 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4360 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4362 …}
  -id: 273357
  -bodyTs: "'ad':27 'add':9 'docker':7,14 'forget':18 'group':15,29 'log':20,23 'new':28 'regular':6 'user':11,32"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sh.itjust.works/comment/7004371"
  +editedAt: DateTimeImmutable @1710846108 {#4348
    date: 2024-03-19 12:01:48.0 +01:00
  }
  +createdAt: DateTimeImmutable @1704201142 {#4349
    date: 2024-01-02 14:12:22.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
59 DENIED edit
App\Entity\EntryComment {#4350
  +user: Proxies\__CG__\App\Entity\User {#4351 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4297
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4240
      +user: Proxies\__CG__\App\Entity\User {#4243 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4173
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4062
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: null
          +root: null
          +body: """
            checked .bash_history, looks like i installed docker in the new rootless mode\n
            \n
            ```\n
            \n
            <span style="color:#323232;">wget get.docker.com\n
            </span><span style="color:#323232;">ls\n
            </span><span style="color:#323232;">mv index.html docker.sh\n
            </span><span style="color:#323232;">chmod +x docker.sh\n
            </span><span style="color:#323232;">./docker.sh\n
            </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
            </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
            </span><span style="color:#323232;">sudo apt install uidmap\n
            </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
            </span>\n
            ```\n
            \n
            now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 5
          +score: 0
          +lastActive: DateTime @1711255062 {#4068
            date: 2024-03-24 05:37:42.0 +01:00
          }
          +ip: null
          +tags: [
            "323232"
          ]
          +mentions: [
            "@Moonrise2473@feddit.it"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4063 …}
          +nested: Doctrine\ORM\PersistentCollection {#4054 …}
          +votes: Doctrine\ORM\PersistentCollection {#4057 …}
          +reports: Doctrine\ORM\PersistentCollection {#4052 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
          -id: 273088
          -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://feddit.it/comment/4682424"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704194921 {#4069
            date: 2024-01-02 12:28:41.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4062}
        +body: """
          I fixed it:\n
          \n
          for future reference:\n
          \n
          - from docs.docker.com/engine/security/rootless/#uninsta…, run `dockerd-rootless-setuptool.sh uninstall`\n
          - delete the user data (**warning**: i wasn’t using any docker volumes and i had no data to lose!!!) using the command that the previous script tells you\n
          - add your user to the docker group and use the traditional “run docker as root” way: docs.docker.com/engine/…/linux-postinstall/#manag…
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 5
        +score: 0
        +lastActive: DateTime @1704195952 {#4174
          date: 2024-01-02 12:45:52.0 +01:00
        }
        +ip: null
        +tags: [
          "uninsta"
          "manag"
        ]
        +mentions: [
          "@Moonrise2473@feddit.it"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4170 …}
        +nested: Doctrine\ORM\PersistentCollection {#4166 …}
        +votes: Doctrine\ORM\PersistentCollection {#4164 …}
        +reports: Doctrine\ORM\PersistentCollection {#4179 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4181 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
        -id: 273122
        -bodyTs: "'/engine/':60 '/engine/security/rootless/#uninsta':10 '/linux-postinstall':61 'add':42 'command':35 'data':17,30 'delet':14 'docker':24,47,54 'dockerd-rootless-setuptool.sh':12 'docs.docker.com':9,59 'docs.docker.com/engine/':58 'docs.docker.com/engine/security/rootless/#uninsta':8 'fix':2 'futur':5 'group':48 'lose':32 'manag':62 'previous':38 'refer':6 'root':56 'run':11,53 'script':39 'tell':40 'tradit':52 'uninstal':13 'use':22,33,50 'user':16,44 'volum':25 'warn':18 'wasn':20 'way':57"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.it/comment/4682586"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704195952 {#4177
          date: 2024-01-02 12:45:52.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4062}
      +body: "Why go through all of that complexity when you could just `sudo apt install docker`?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 7
      +score: 0
      +lastActive: DateTime @1704197511 {#4239
        date: 2024-01-02 13:11:51.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Moonrise2473@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4247 …}
      +nested: Doctrine\ORM\PersistentCollection {#4249 …}
      +votes: Doctrine\ORM\PersistentCollection {#4245 …}
      +reports: Doctrine\ORM\PersistentCollection {#4251 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4255 …}
      -id: 273200
      -bodyTs: "'apt':13 'complex':7 'could':10 'docker':15 'go':2 'instal':14 'sudo':12"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7009410"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704197511 {#4236
        date: 2024-01-02 13:11:51.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4062}
    +body: "i don’t want to type `sudo` before each single `docker` command"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1704199665 {#4298
      date: 2024-01-02 13:47:45.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Atemu@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4294 …}
    +nested: Doctrine\ORM\PersistentCollection {#4290 …}
    +votes: Doctrine\ORM\PersistentCollection {#4288 …}
    +reports: Doctrine\ORM\PersistentCollection {#4303 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
    -id: 273298
    -bodyTs: "'command':12 'docker':11 'singl':10 'sudo':7 'type':6 'want':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4683262"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704199665 {#4301
      date: 2024-01-02 13:47:45.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4062}
  +body: """
    You can do that with regular docker. Just add your user to the docker group.\n
    \n
    (don’t forget to log out and log in again after adding new groups to your user)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 12
  +score: 0
  +lastActive: DateTime @1704201142 {#4347
    date: 2024-01-02 14:12:22.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Atemu@lemmy.ml"
    "@Moonrise2473@feddit.it"
    "@Atemu@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4352 …}
  +nested: Doctrine\ORM\PersistentCollection {#4354 …}
  +votes: Doctrine\ORM\PersistentCollection {#4356 …}
  +reports: Doctrine\ORM\PersistentCollection {#4358 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4360 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4362 …}
  -id: 273357
  -bodyTs: "'ad':27 'add':9 'docker':7,14 'forget':18 'group':15,29 'log':20,23 'new':28 'regular':6 'user':11,32"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sh.itjust.works/comment/7004371"
  +editedAt: DateTimeImmutable @1710846108 {#4348
    date: 2024-03-19 12:01:48.0 +01:00
  }
  +createdAt: DateTimeImmutable @1704201142 {#4349
    date: 2024-01-02 14:12:22.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
60 DENIED moderate
App\Entity\EntryComment {#4350
  +user: Proxies\__CG__\App\Entity\User {#4351 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4297
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4240
      +user: Proxies\__CG__\App\Entity\User {#4243 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4173
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4062
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: null
          +root: null
          +body: """
            checked .bash_history, looks like i installed docker in the new rootless mode\n
            \n
            ```\n
            \n
            <span style="color:#323232;">wget get.docker.com\n
            </span><span style="color:#323232;">ls\n
            </span><span style="color:#323232;">mv index.html docker.sh\n
            </span><span style="color:#323232;">chmod +x docker.sh\n
            </span><span style="color:#323232;">./docker.sh\n
            </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
            </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
            </span><span style="color:#323232;">sudo apt install uidmap\n
            </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
            </span>\n
            ```\n
            \n
            now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 5
          +score: 0
          +lastActive: DateTime @1711255062 {#4068
            date: 2024-03-24 05:37:42.0 +01:00
          }
          +ip: null
          +tags: [
            "323232"
          ]
          +mentions: [
            "@Moonrise2473@feddit.it"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4063 …}
          +nested: Doctrine\ORM\PersistentCollection {#4054 …}
          +votes: Doctrine\ORM\PersistentCollection {#4057 …}
          +reports: Doctrine\ORM\PersistentCollection {#4052 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
          -id: 273088
          -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://feddit.it/comment/4682424"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704194921 {#4069
            date: 2024-01-02 12:28:41.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4062}
        +body: """
          I fixed it:\n
          \n
          for future reference:\n
          \n
          - from docs.docker.com/engine/security/rootless/#uninsta…, run `dockerd-rootless-setuptool.sh uninstall`\n
          - delete the user data (**warning**: i wasn’t using any docker volumes and i had no data to lose!!!) using the command that the previous script tells you\n
          - add your user to the docker group and use the traditional “run docker as root” way: docs.docker.com/engine/…/linux-postinstall/#manag…
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 5
        +score: 0
        +lastActive: DateTime @1704195952 {#4174
          date: 2024-01-02 12:45:52.0 +01:00
        }
        +ip: null
        +tags: [
          "uninsta"
          "manag"
        ]
        +mentions: [
          "@Moonrise2473@feddit.it"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4170 …}
        +nested: Doctrine\ORM\PersistentCollection {#4166 …}
        +votes: Doctrine\ORM\PersistentCollection {#4164 …}
        +reports: Doctrine\ORM\PersistentCollection {#4179 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4181 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
        -id: 273122
        -bodyTs: "'/engine/':60 '/engine/security/rootless/#uninsta':10 '/linux-postinstall':61 'add':42 'command':35 'data':17,30 'delet':14 'docker':24,47,54 'dockerd-rootless-setuptool.sh':12 'docs.docker.com':9,59 'docs.docker.com/engine/':58 'docs.docker.com/engine/security/rootless/#uninsta':8 'fix':2 'futur':5 'group':48 'lose':32 'manag':62 'previous':38 'refer':6 'root':56 'run':11,53 'script':39 'tell':40 'tradit':52 'uninstal':13 'use':22,33,50 'user':16,44 'volum':25 'warn':18 'wasn':20 'way':57"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.it/comment/4682586"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704195952 {#4177
          date: 2024-01-02 12:45:52.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4062}
      +body: "Why go through all of that complexity when you could just `sudo apt install docker`?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 7
      +score: 0
      +lastActive: DateTime @1704197511 {#4239
        date: 2024-01-02 13:11:51.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Moonrise2473@feddit.it"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4247 …}
      +nested: Doctrine\ORM\PersistentCollection {#4249 …}
      +votes: Doctrine\ORM\PersistentCollection {#4245 …}
      +reports: Doctrine\ORM\PersistentCollection {#4251 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4255 …}
      -id: 273200
      -bodyTs: "'apt':13 'complex':7 'could':10 'docker':15 'go':2 'instal':14 'sudo':12"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7009410"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704197511 {#4236
        date: 2024-01-02 13:11:51.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4062}
    +body: "i don’t want to type `sudo` before each single `docker` command"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1704199665 {#4298
      date: 2024-01-02 13:47:45.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Atemu@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4294 …}
    +nested: Doctrine\ORM\PersistentCollection {#4290 …}
    +votes: Doctrine\ORM\PersistentCollection {#4288 …}
    +reports: Doctrine\ORM\PersistentCollection {#4303 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
    -id: 273298
    -bodyTs: "'command':12 'docker':11 'singl':10 'sudo':7 'type':6 'want':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.it/comment/4683262"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704199665 {#4301
      date: 2024-01-02 13:47:45.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4062}
  +body: """
    You can do that with regular docker. Just add your user to the docker group.\n
    \n
    (don’t forget to log out and log in again after adding new groups to your user)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 12
  +score: 0
  +lastActive: DateTime @1704201142 {#4347
    date: 2024-01-02 14:12:22.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Atemu@lemmy.ml"
    "@Moonrise2473@feddit.it"
    "@Atemu@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4352 …}
  +nested: Doctrine\ORM\PersistentCollection {#4354 …}
  +votes: Doctrine\ORM\PersistentCollection {#4356 …}
  +reports: Doctrine\ORM\PersistentCollection {#4358 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4360 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4362 …}
  -id: 273357
  -bodyTs: "'ad':27 'add':9 'docker':7,14 'forget':18 'group':15,29 'log':20,23 'new':28 'regular':6 'user':11,32"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sh.itjust.works/comment/7004371"
  +editedAt: DateTimeImmutable @1710846108 {#4348
    date: 2024-03-19 12:01:48.0 +01:00
  }
  +createdAt: DateTimeImmutable @1704201142 {#4349
    date: 2024-01-02 14:12:22.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
61 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
62 DENIED moderate
App\Entity\EntryComment {#4389
  +user: Proxies\__CG__\App\Entity\User {#4386 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4350
    +user: Proxies\__CG__\App\Entity\User {#4351 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4297
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4240
        +user: Proxies\__CG__\App\Entity\User {#4243 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4173
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: App\Entity\EntryComment {#4062
            +user: Proxies\__CG__\App\Entity\User {#1970 …}
            +entry: App\Entity\Entry {#2419}
            +magazine: App\Entity\Magazine {#265}
            +image: null
            +parent: null
            +root: null
            +body: """
              checked .bash_history, looks like i installed docker in the new rootless mode\n
              \n
              ```\n
              \n
              <span style="color:#323232;">wget get.docker.com\n
              </span><span style="color:#323232;">ls\n
              </span><span style="color:#323232;">mv index.html docker.sh\n
              </span><span style="color:#323232;">chmod +x docker.sh\n
              </span><span style="color:#323232;">./docker.sh\n
              </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
              </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
              </span><span style="color:#323232;">sudo apt install uidmap\n
              </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
              </span>\n
              ```\n
              \n
              now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
              """
            +lang: "en"
            +isAdult: false
            +favouriteCount: 5
            +score: 0
            +lastActive: DateTime @1711255062 {#4068
              date: 2024-03-24 05:37:42.0 +01:00
            }
            +ip: null
            +tags: [
              "323232"
            ]
            +mentions: [
              "@Moonrise2473@feddit.it"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4063 …}
            +nested: Doctrine\ORM\PersistentCollection {#4054 …}
            +votes: Doctrine\ORM\PersistentCollection {#4057 …}
            +reports: Doctrine\ORM\PersistentCollection {#4052 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
            -id: 273088
            -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://feddit.it/comment/4682424"
            +editedAt: null
            +createdAt: DateTimeImmutable @1704194921 {#4069
              date: 2024-01-02 12:28:41.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4062}
          +body: """
            I fixed it:\n
            \n
            for future reference:\n
            \n
            - from docs.docker.com/engine/security/rootless/#uninsta…, run `dockerd-rootless-setuptool.sh uninstall`\n
            - delete the user data (**warning**: i wasn’t using any docker volumes and i had no data to lose!!!) using the command that the previous script tells you\n
            - add your user to the docker group and use the traditional “run docker as root” way: docs.docker.com/engine/…/linux-postinstall/#manag…
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 5
          +score: 0
          +lastActive: DateTime @1704195952 {#4174
            date: 2024-01-02 12:45:52.0 +01:00
          }
          +ip: null
          +tags: [
            "uninsta"
            "manag"
          ]
          +mentions: [
            "@Moonrise2473@feddit.it"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4170 …}
          +nested: Doctrine\ORM\PersistentCollection {#4166 …}
          +votes: Doctrine\ORM\PersistentCollection {#4164 …}
          +reports: Doctrine\ORM\PersistentCollection {#4179 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4181 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
          -id: 273122
          -bodyTs: "'/engine/':60 '/engine/security/rootless/#uninsta':10 '/linux-postinstall':61 'add':42 'command':35 'data':17,30 'delet':14 'docker':24,47,54 'dockerd-rootless-setuptool.sh':12 'docs.docker.com':9,59 'docs.docker.com/engine/':58 'docs.docker.com/engine/security/rootless/#uninsta':8 'fix':2 'futur':5 'group':48 'lose':32 'manag':62 'previous':38 'refer':6 'root':56 'run':11,53 'script':39 'tell':40 'tradit':52 'uninstal':13 'use':22,33,50 'user':16,44 'volum':25 'warn':18 'wasn':20 'way':57"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://feddit.it/comment/4682586"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704195952 {#4177
            date: 2024-01-02 12:45:52.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4062}
        +body: "Why go through all of that complexity when you could just `sudo apt install docker`?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 7
        +score: 0
        +lastActive: DateTime @1704197511 {#4239
          date: 2024-01-02 13:11:51.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Moonrise2473@feddit.it"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4247 …}
        +nested: Doctrine\ORM\PersistentCollection {#4249 …}
        +votes: Doctrine\ORM\PersistentCollection {#4245 …}
        +reports: Doctrine\ORM\PersistentCollection {#4251 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4255 …}
        -id: 273200
        -bodyTs: "'apt':13 'complex':7 'could':10 'docker':15 'go':2 'instal':14 'sudo':12"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/7009410"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704197511 {#4236
          date: 2024-01-02 13:11:51.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4062}
      +body: "i don’t want to type `sudo` before each single `docker` command"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1704199665 {#4298
        date: 2024-01-02 13:47:45.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Moonrise2473@feddit.it"
        "@Atemu@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4294 …}
      +nested: Doctrine\ORM\PersistentCollection {#4290 …}
      +votes: Doctrine\ORM\PersistentCollection {#4288 …}
      +reports: Doctrine\ORM\PersistentCollection {#4303 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
      -id: 273298
      -bodyTs: "'command':12 'docker':11 'singl':10 'sudo':7 'type':6 'want':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.it/comment/4683262"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704199665 {#4301
        date: 2024-01-02 13:47:45.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4062}
    +body: """
      You can do that with regular docker. Just add your user to the docker group.\n
      \n
      (don’t forget to log out and log in again after adding new groups to your user)
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 12
    +score: 0
    +lastActive: DateTime @1704201142 {#4347
      date: 2024-01-02 14:12:22.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Atemu@lemmy.ml"
      "@Moonrise2473@feddit.it"
      "@Atemu@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4352 …}
    +nested: Doctrine\ORM\PersistentCollection {#4354 …}
    +votes: Doctrine\ORM\PersistentCollection {#4356 …}
    +reports: Doctrine\ORM\PersistentCollection {#4358 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4360 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4362 …}
    -id: 273357
    -bodyTs: "'ad':27 'add':9 'docker':7,14 'forget':18 'group':15,29 'log':20,23 'new':28 'regular':6 'user':11,32"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://sh.itjust.works/comment/7004371"
    +editedAt: DateTimeImmutable @1710846108 {#4348
      date: 2024-03-19 12:01:48.0 +01:00
    }
    +createdAt: DateTimeImmutable @1704201142 {#4349
      date: 2024-01-02 14:12:22.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4062}
  +body: "Niche use case, but you can also use `newgrp` to run commands with a recently-added group to your user, without having to logout/login yet."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 3
  +score: 0
  +lastActive: DateTime @1704204594 {#4390
    date: 2024-01-02 15:09:54.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Atemu@lemmy.ml"
    "@Voroxpete@sh.itjust.works"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4383 …}
  +nested: Doctrine\ORM\PersistentCollection {#4381 …}
  +votes: Doctrine\ORM\PersistentCollection {#4385 …}
  +reports: Doctrine\ORM\PersistentCollection {#4396 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4398 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4400 …}
  -id: 273461
  -bodyTs: "'ad':17 'also':7 'case':3 'command':12 'group':18 'logout/login':25 'newgrp':9 'nich':1 'recent':16 'recently-ad':15 'run':11 'use':2,8 'user':21 'without':22 'yet':26"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sh.itjust.works/comment/7005071"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704204594 {#4393
    date: 2024-01-02 15:09:54.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
63 DENIED edit
App\Entity\EntryComment {#4389
  +user: Proxies\__CG__\App\Entity\User {#4386 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4350
    +user: Proxies\__CG__\App\Entity\User {#4351 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4297
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4240
        +user: Proxies\__CG__\App\Entity\User {#4243 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4173
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: App\Entity\EntryComment {#4062
            +user: Proxies\__CG__\App\Entity\User {#1970 …}
            +entry: App\Entity\Entry {#2419}
            +magazine: App\Entity\Magazine {#265}
            +image: null
            +parent: null
            +root: null
            +body: """
              checked .bash_history, looks like i installed docker in the new rootless mode\n
              \n
              ```\n
              \n
              <span style="color:#323232;">wget get.docker.com\n
              </span><span style="color:#323232;">ls\n
              </span><span style="color:#323232;">mv index.html docker.sh\n
              </span><span style="color:#323232;">chmod +x docker.sh\n
              </span><span style="color:#323232;">./docker.sh\n
              </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
              </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
              </span><span style="color:#323232;">sudo apt install uidmap\n
              </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
              </span>\n
              ```\n
              \n
              now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
              """
            +lang: "en"
            +isAdult: false
            +favouriteCount: 5
            +score: 0
            +lastActive: DateTime @1711255062 {#4068
              date: 2024-03-24 05:37:42.0 +01:00
            }
            +ip: null
            +tags: [
              "323232"
            ]
            +mentions: [
              "@Moonrise2473@feddit.it"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4063 …}
            +nested: Doctrine\ORM\PersistentCollection {#4054 …}
            +votes: Doctrine\ORM\PersistentCollection {#4057 …}
            +reports: Doctrine\ORM\PersistentCollection {#4052 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
            -id: 273088
            -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://feddit.it/comment/4682424"
            +editedAt: null
            +createdAt: DateTimeImmutable @1704194921 {#4069
              date: 2024-01-02 12:28:41.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4062}
          +body: """
            I fixed it:\n
            \n
            for future reference:\n
            \n
            - from docs.docker.com/engine/security/rootless/#uninsta…, run `dockerd-rootless-setuptool.sh uninstall`\n
            - delete the user data (**warning**: i wasn’t using any docker volumes and i had no data to lose!!!) using the command that the previous script tells you\n
            - add your user to the docker group and use the traditional “run docker as root” way: docs.docker.com/engine/…/linux-postinstall/#manag…
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 5
          +score: 0
          +lastActive: DateTime @1704195952 {#4174
            date: 2024-01-02 12:45:52.0 +01:00
          }
          +ip: null
          +tags: [
            "uninsta"
            "manag"
          ]
          +mentions: [
            "@Moonrise2473@feddit.it"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4170 …}
          +nested: Doctrine\ORM\PersistentCollection {#4166 …}
          +votes: Doctrine\ORM\PersistentCollection {#4164 …}
          +reports: Doctrine\ORM\PersistentCollection {#4179 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4181 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
          -id: 273122
          -bodyTs: "'/engine/':60 '/engine/security/rootless/#uninsta':10 '/linux-postinstall':61 'add':42 'command':35 'data':17,30 'delet':14 'docker':24,47,54 'dockerd-rootless-setuptool.sh':12 'docs.docker.com':9,59 'docs.docker.com/engine/':58 'docs.docker.com/engine/security/rootless/#uninsta':8 'fix':2 'futur':5 'group':48 'lose':32 'manag':62 'previous':38 'refer':6 'root':56 'run':11,53 'script':39 'tell':40 'tradit':52 'uninstal':13 'use':22,33,50 'user':16,44 'volum':25 'warn':18 'wasn':20 'way':57"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://feddit.it/comment/4682586"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704195952 {#4177
            date: 2024-01-02 12:45:52.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4062}
        +body: "Why go through all of that complexity when you could just `sudo apt install docker`?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 7
        +score: 0
        +lastActive: DateTime @1704197511 {#4239
          date: 2024-01-02 13:11:51.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Moonrise2473@feddit.it"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4247 …}
        +nested: Doctrine\ORM\PersistentCollection {#4249 …}
        +votes: Doctrine\ORM\PersistentCollection {#4245 …}
        +reports: Doctrine\ORM\PersistentCollection {#4251 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4255 …}
        -id: 273200
        -bodyTs: "'apt':13 'complex':7 'could':10 'docker':15 'go':2 'instal':14 'sudo':12"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/7009410"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704197511 {#4236
          date: 2024-01-02 13:11:51.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4062}
      +body: "i don’t want to type `sudo` before each single `docker` command"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1704199665 {#4298
        date: 2024-01-02 13:47:45.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Moonrise2473@feddit.it"
        "@Atemu@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4294 …}
      +nested: Doctrine\ORM\PersistentCollection {#4290 …}
      +votes: Doctrine\ORM\PersistentCollection {#4288 …}
      +reports: Doctrine\ORM\PersistentCollection {#4303 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
      -id: 273298
      -bodyTs: "'command':12 'docker':11 'singl':10 'sudo':7 'type':6 'want':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.it/comment/4683262"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704199665 {#4301
        date: 2024-01-02 13:47:45.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4062}
    +body: """
      You can do that with regular docker. Just add your user to the docker group.\n
      \n
      (don’t forget to log out and log in again after adding new groups to your user)
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 12
    +score: 0
    +lastActive: DateTime @1704201142 {#4347
      date: 2024-01-02 14:12:22.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Atemu@lemmy.ml"
      "@Moonrise2473@feddit.it"
      "@Atemu@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4352 …}
    +nested: Doctrine\ORM\PersistentCollection {#4354 …}
    +votes: Doctrine\ORM\PersistentCollection {#4356 …}
    +reports: Doctrine\ORM\PersistentCollection {#4358 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4360 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4362 …}
    -id: 273357
    -bodyTs: "'ad':27 'add':9 'docker':7,14 'forget':18 'group':15,29 'log':20,23 'new':28 'regular':6 'user':11,32"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://sh.itjust.works/comment/7004371"
    +editedAt: DateTimeImmutable @1710846108 {#4348
      date: 2024-03-19 12:01:48.0 +01:00
    }
    +createdAt: DateTimeImmutable @1704201142 {#4349
      date: 2024-01-02 14:12:22.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4062}
  +body: "Niche use case, but you can also use `newgrp` to run commands with a recently-added group to your user, without having to logout/login yet."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 3
  +score: 0
  +lastActive: DateTime @1704204594 {#4390
    date: 2024-01-02 15:09:54.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Atemu@lemmy.ml"
    "@Voroxpete@sh.itjust.works"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4383 …}
  +nested: Doctrine\ORM\PersistentCollection {#4381 …}
  +votes: Doctrine\ORM\PersistentCollection {#4385 …}
  +reports: Doctrine\ORM\PersistentCollection {#4396 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4398 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4400 …}
  -id: 273461
  -bodyTs: "'ad':17 'also':7 'case':3 'command':12 'group':18 'logout/login':25 'newgrp':9 'nich':1 'recent':16 'recently-ad':15 'run':11 'use':2,8 'user':21 'without':22 'yet':26"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sh.itjust.works/comment/7005071"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704204594 {#4393
    date: 2024-01-02 15:09:54.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
64 DENIED moderate
App\Entity\EntryComment {#4389
  +user: Proxies\__CG__\App\Entity\User {#4386 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4350
    +user: Proxies\__CG__\App\Entity\User {#4351 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4297
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4240
        +user: Proxies\__CG__\App\Entity\User {#4243 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4173
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: App\Entity\EntryComment {#4062
            +user: Proxies\__CG__\App\Entity\User {#1970 …}
            +entry: App\Entity\Entry {#2419}
            +magazine: App\Entity\Magazine {#265}
            +image: null
            +parent: null
            +root: null
            +body: """
              checked .bash_history, looks like i installed docker in the new rootless mode\n
              \n
              ```\n
              \n
              <span style="color:#323232;">wget get.docker.com\n
              </span><span style="color:#323232;">ls\n
              </span><span style="color:#323232;">mv index.html docker.sh\n
              </span><span style="color:#323232;">chmod +x docker.sh\n
              </span><span style="color:#323232;">./docker.sh\n
              </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
              </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
              </span><span style="color:#323232;">sudo apt install uidmap\n
              </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
              </span>\n
              ```\n
              \n
              now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
              """
            +lang: "en"
            +isAdult: false
            +favouriteCount: 5
            +score: 0
            +lastActive: DateTime @1711255062 {#4068
              date: 2024-03-24 05:37:42.0 +01:00
            }
            +ip: null
            +tags: [
              "323232"
            ]
            +mentions: [
              "@Moonrise2473@feddit.it"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4063 …}
            +nested: Doctrine\ORM\PersistentCollection {#4054 …}
            +votes: Doctrine\ORM\PersistentCollection {#4057 …}
            +reports: Doctrine\ORM\PersistentCollection {#4052 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
            -id: 273088
            -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://feddit.it/comment/4682424"
            +editedAt: null
            +createdAt: DateTimeImmutable @1704194921 {#4069
              date: 2024-01-02 12:28:41.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4062}
          +body: """
            I fixed it:\n
            \n
            for future reference:\n
            \n
            - from docs.docker.com/engine/security/rootless/#uninsta…, run `dockerd-rootless-setuptool.sh uninstall`\n
            - delete the user data (**warning**: i wasn’t using any docker volumes and i had no data to lose!!!) using the command that the previous script tells you\n
            - add your user to the docker group and use the traditional “run docker as root” way: docs.docker.com/engine/…/linux-postinstall/#manag…
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 5
          +score: 0
          +lastActive: DateTime @1704195952 {#4174
            date: 2024-01-02 12:45:52.0 +01:00
          }
          +ip: null
          +tags: [
            "uninsta"
            "manag"
          ]
          +mentions: [
            "@Moonrise2473@feddit.it"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4170 …}
          +nested: Doctrine\ORM\PersistentCollection {#4166 …}
          +votes: Doctrine\ORM\PersistentCollection {#4164 …}
          +reports: Doctrine\ORM\PersistentCollection {#4179 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4181 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
          -id: 273122
          -bodyTs: "'/engine/':60 '/engine/security/rootless/#uninsta':10 '/linux-postinstall':61 'add':42 'command':35 'data':17,30 'delet':14 'docker':24,47,54 'dockerd-rootless-setuptool.sh':12 'docs.docker.com':9,59 'docs.docker.com/engine/':58 'docs.docker.com/engine/security/rootless/#uninsta':8 'fix':2 'futur':5 'group':48 'lose':32 'manag':62 'previous':38 'refer':6 'root':56 'run':11,53 'script':39 'tell':40 'tradit':52 'uninstal':13 'use':22,33,50 'user':16,44 'volum':25 'warn':18 'wasn':20 'way':57"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://feddit.it/comment/4682586"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704195952 {#4177
            date: 2024-01-02 12:45:52.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4062}
        +body: "Why go through all of that complexity when you could just `sudo apt install docker`?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 7
        +score: 0
        +lastActive: DateTime @1704197511 {#4239
          date: 2024-01-02 13:11:51.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Moonrise2473@feddit.it"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4247 …}
        +nested: Doctrine\ORM\PersistentCollection {#4249 …}
        +votes: Doctrine\ORM\PersistentCollection {#4245 …}
        +reports: Doctrine\ORM\PersistentCollection {#4251 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4255 …}
        -id: 273200
        -bodyTs: "'apt':13 'complex':7 'could':10 'docker':15 'go':2 'instal':14 'sudo':12"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/7009410"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704197511 {#4236
          date: 2024-01-02 13:11:51.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4062}
      +body: "i don’t want to type `sudo` before each single `docker` command"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1704199665 {#4298
        date: 2024-01-02 13:47:45.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Moonrise2473@feddit.it"
        "@Atemu@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4294 …}
      +nested: Doctrine\ORM\PersistentCollection {#4290 …}
      +votes: Doctrine\ORM\PersistentCollection {#4288 …}
      +reports: Doctrine\ORM\PersistentCollection {#4303 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
      -id: 273298
      -bodyTs: "'command':12 'docker':11 'singl':10 'sudo':7 'type':6 'want':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.it/comment/4683262"
      +editedAt: null
      +createdAt: DateTimeImmutable @1704199665 {#4301
        date: 2024-01-02 13:47:45.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4062}
    +body: """
      You can do that with regular docker. Just add your user to the docker group.\n
      \n
      (don’t forget to log out and log in again after adding new groups to your user)
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 12
    +score: 0
    +lastActive: DateTime @1704201142 {#4347
      date: 2024-01-02 14:12:22.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Atemu@lemmy.ml"
      "@Moonrise2473@feddit.it"
      "@Atemu@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4352 …}
    +nested: Doctrine\ORM\PersistentCollection {#4354 …}
    +votes: Doctrine\ORM\PersistentCollection {#4356 …}
    +reports: Doctrine\ORM\PersistentCollection {#4358 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4360 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4362 …}
    -id: 273357
    -bodyTs: "'ad':27 'add':9 'docker':7,14 'forget':18 'group':15,29 'log':20,23 'new':28 'regular':6 'user':11,32"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://sh.itjust.works/comment/7004371"
    +editedAt: DateTimeImmutable @1710846108 {#4348
      date: 2024-03-19 12:01:48.0 +01:00
    }
    +createdAt: DateTimeImmutable @1704201142 {#4349
      date: 2024-01-02 14:12:22.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4062}
  +body: "Niche use case, but you can also use `newgrp` to run commands with a recently-added group to your user, without having to logout/login yet."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 3
  +score: 0
  +lastActive: DateTime @1704204594 {#4390
    date: 2024-01-02 15:09:54.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Atemu@lemmy.ml"
    "@Voroxpete@sh.itjust.works"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4383 …}
  +nested: Doctrine\ORM\PersistentCollection {#4381 …}
  +votes: Doctrine\ORM\PersistentCollection {#4385 …}
  +reports: Doctrine\ORM\PersistentCollection {#4396 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4398 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4400 …}
  -id: 273461
  -bodyTs: "'ad':17 'also':7 'case':3 'command':12 'group':18 'logout/login':25 'newgrp':9 'nich':1 'recent':16 'recently-ad':15 'run':11 'use':2,8 'user':21 'without':22 'yet':26"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sh.itjust.works/comment/7005071"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704204594 {#4393
    date: 2024-01-02 15:09:54.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
65 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
66 DENIED moderate
App\Entity\EntryComment {#4417
  +user: Proxies\__CG__\App\Entity\User {#4409 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4389
    +user: Proxies\__CG__\App\Entity\User {#4386 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4350
      +user: Proxies\__CG__\App\Entity\User {#4351 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4297
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4240
          +user: Proxies\__CG__\App\Entity\User {#4243 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: App\Entity\EntryComment {#4173
            +user: Proxies\__CG__\App\Entity\User {#1970 …}
            +entry: App\Entity\Entry {#2419}
            +magazine: App\Entity\Magazine {#265}
            +image: null
            +parent: App\Entity\EntryComment {#4062
              +user: Proxies\__CG__\App\Entity\User {#1970 …}
              +entry: App\Entity\Entry {#2419}
              +magazine: App\Entity\Magazine {#265}
              +image: null
              +parent: null
              +root: null
              +body: """
                checked .bash_history, looks like i installed docker in the new rootless mode\n
                \n
                ```\n
                \n
                <span style="color:#323232;">wget get.docker.com\n
                </span><span style="color:#323232;">ls\n
                </span><span style="color:#323232;">mv index.html docker.sh\n
                </span><span style="color:#323232;">chmod +x docker.sh\n
                </span><span style="color:#323232;">./docker.sh\n
                </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
                </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
                </span><span style="color:#323232;">sudo apt install uidmap\n
                </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
                </span>\n
                ```\n
                \n
                now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
                """
              +lang: "en"
              +isAdult: false
              +favouriteCount: 5
              +score: 0
              +lastActive: DateTime @1711255062 {#4068
                date: 2024-03-24 05:37:42.0 +01:00
              }
              +ip: null
              +tags: [
                "323232"
              ]
              +mentions: [
                "@Moonrise2473@feddit.it"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4063 …}
              +nested: Doctrine\ORM\PersistentCollection {#4054 …}
              +votes: Doctrine\ORM\PersistentCollection {#4057 …}
              +reports: Doctrine\ORM\PersistentCollection {#4052 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
              -id: 273088
              -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://feddit.it/comment/4682424"
              +editedAt: null
              +createdAt: DateTimeImmutable @1704194921 {#4069
                date: 2024-01-02 12:28:41.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4062}
            +body: """
              I fixed it:\n
              \n
              for future reference:\n
              \n
              - from docs.docker.com/engine/security/rootless/#uninsta…, run `dockerd-rootless-setuptool.sh uninstall`\n
              - delete the user data (**warning**: i wasn’t using any docker volumes and i had no data to lose!!!) using the command that the previous script tells you\n
              - add your user to the docker group and use the traditional “run docker as root” way: docs.docker.com/engine/…/linux-postinstall/#manag…
              """
            +lang: "en"
            +isAdult: false
            +favouriteCount: 5
            +score: 0
            +lastActive: DateTime @1704195952 {#4174
              date: 2024-01-02 12:45:52.0 +01:00
            }
            +ip: null
            +tags: [
              "uninsta"
              "manag"
            ]
            +mentions: [
              "@Moonrise2473@feddit.it"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4170 …}
            +nested: Doctrine\ORM\PersistentCollection {#4166 …}
            +votes: Doctrine\ORM\PersistentCollection {#4164 …}
            +reports: Doctrine\ORM\PersistentCollection {#4179 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4181 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
            -id: 273122
            -bodyTs: "'/engine/':60 '/engine/security/rootless/#uninsta':10 '/linux-postinstall':61 'add':42 'command':35 'data':17,30 'delet':14 'docker':24,47,54 'dockerd-rootless-setuptool.sh':12 'docs.docker.com':9,59 'docs.docker.com/engine/':58 'docs.docker.com/engine/security/rootless/#uninsta':8 'fix':2 'futur':5 'group':48 'lose':32 'manag':62 'previous':38 'refer':6 'root':56 'run':11,53 'script':39 'tell':40 'tradit':52 'uninstal':13 'use':22,33,50 'user':16,44 'volum':25 'warn':18 'wasn':20 'way':57"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://feddit.it/comment/4682586"
            +editedAt: null
            +createdAt: DateTimeImmutable @1704195952 {#4177
              date: 2024-01-02 12:45:52.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4062}
          +body: "Why go through all of that complexity when you could just `sudo apt install docker`?"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 7
          +score: 0
          +lastActive: DateTime @1704197511 {#4239
            date: 2024-01-02 13:11:51.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@Moonrise2473@feddit.it"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4247 …}
          +nested: Doctrine\ORM\PersistentCollection {#4249 …}
          +votes: Doctrine\ORM\PersistentCollection {#4245 …}
          +reports: Doctrine\ORM\PersistentCollection {#4251 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4255 …}
          -id: 273200
          -bodyTs: "'apt':13 'complex':7 'could':10 'docker':15 'go':2 'instal':14 'sudo':12"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/7009410"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704197511 {#4236
            date: 2024-01-02 13:11:51.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4062}
        +body: "i don’t want to type `sudo` before each single `docker` command"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1704199665 {#4298
          date: 2024-01-02 13:47:45.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Moonrise2473@feddit.it"
          "@Atemu@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4294 …}
        +nested: Doctrine\ORM\PersistentCollection {#4290 …}
        +votes: Doctrine\ORM\PersistentCollection {#4288 …}
        +reports: Doctrine\ORM\PersistentCollection {#4303 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
        -id: 273298
        -bodyTs: "'command':12 'docker':11 'singl':10 'sudo':7 'type':6 'want':4"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.it/comment/4683262"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704199665 {#4301
          date: 2024-01-02 13:47:45.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4062}
      +body: """
        You can do that with regular docker. Just add your user to the docker group.\n
        \n
        (don’t forget to log out and log in again after adding new groups to your user)
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 12
      +score: 0
      +lastActive: DateTime @1704201142 {#4347
        date: 2024-01-02 14:12:22.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Moonrise2473@feddit.it"
        "@Atemu@lemmy.ml"
        "@Moonrise2473@feddit.it"
        "@Atemu@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4352 …}
      +nested: Doctrine\ORM\PersistentCollection {#4354 …}
      +votes: Doctrine\ORM\PersistentCollection {#4356 …}
      +reports: Doctrine\ORM\PersistentCollection {#4358 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4360 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4362 …}
      -id: 273357
      -bodyTs: "'ad':27 'add':9 'docker':7,14 'forget':18 'group':15,29 'log':20,23 'new':28 'regular':6 'user':11,32"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://sh.itjust.works/comment/7004371"
      +editedAt: DateTimeImmutable @1710846108 {#4348
        date: 2024-03-19 12:01:48.0 +01:00
      }
      +createdAt: DateTimeImmutable @1704201142 {#4349
        date: 2024-01-02 14:12:22.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4062}
    +body: "Niche use case, but you can also use `newgrp` to run commands with a recently-added group to your user, without having to logout/login yet."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1704204594 {#4390
      date: 2024-01-02 15:09:54.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Atemu@lemmy.ml"
      "@Voroxpete@sh.itjust.works"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4383 …}
    +nested: Doctrine\ORM\PersistentCollection {#4381 …}
    +votes: Doctrine\ORM\PersistentCollection {#4385 …}
    +reports: Doctrine\ORM\PersistentCollection {#4396 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4398 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4400 …}
    -id: 273461
    -bodyTs: "'ad':17 'also':7 'case':3 'command':12 'group':18 'logout/login':25 'newgrp':9 'nich':1 'recent':16 'recently-ad':15 'run':11 'use':2,8 'user':21 'without':22 'yet':26"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://sh.itjust.works/comment/7005071"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704204594 {#4393
      date: 2024-01-02 15:09:54.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4062}
  +body: "Or start a new session by typing bash, when already in bash."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704295802 {#4412
    date: 2024-01-03 16:30:02.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Atemu@lemmy.ml"
    "@Voroxpete@sh.itjust.works"
    "@twiked@sh.itjust.works"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4407 …}
  +nested: Doctrine\ORM\PersistentCollection {#4405 …}
  +votes: Doctrine\ORM\PersistentCollection {#4403 …}
  +reports: Doctrine\ORM\PersistentCollection {#4419 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4421 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4423 …}
  -id: 276691
  -bodyTs: "'alreadi':10 'bash':8,12 'new':4 'session':5 'start':2 'type':7"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmynsfw.com/comment/3589571"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704295802 {#4415
    date: 2024-01-03 16:30:02.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
67 DENIED edit
App\Entity\EntryComment {#4417
  +user: Proxies\__CG__\App\Entity\User {#4409 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4389
    +user: Proxies\__CG__\App\Entity\User {#4386 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4350
      +user: Proxies\__CG__\App\Entity\User {#4351 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4297
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4240
          +user: Proxies\__CG__\App\Entity\User {#4243 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: App\Entity\EntryComment {#4173
            +user: Proxies\__CG__\App\Entity\User {#1970 …}
            +entry: App\Entity\Entry {#2419}
            +magazine: App\Entity\Magazine {#265}
            +image: null
            +parent: App\Entity\EntryComment {#4062
              +user: Proxies\__CG__\App\Entity\User {#1970 …}
              +entry: App\Entity\Entry {#2419}
              +magazine: App\Entity\Magazine {#265}
              +image: null
              +parent: null
              +root: null
              +body: """
                checked .bash_history, looks like i installed docker in the new rootless mode\n
                \n
                ```\n
                \n
                <span style="color:#323232;">wget get.docker.com\n
                </span><span style="color:#323232;">ls\n
                </span><span style="color:#323232;">mv index.html docker.sh\n
                </span><span style="color:#323232;">chmod +x docker.sh\n
                </span><span style="color:#323232;">./docker.sh\n
                </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
                </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
                </span><span style="color:#323232;">sudo apt install uidmap\n
                </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
                </span>\n
                ```\n
                \n
                now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
                """
              +lang: "en"
              +isAdult: false
              +favouriteCount: 5
              +score: 0
              +lastActive: DateTime @1711255062 {#4068
                date: 2024-03-24 05:37:42.0 +01:00
              }
              +ip: null
              +tags: [
                "323232"
              ]
              +mentions: [
                "@Moonrise2473@feddit.it"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4063 …}
              +nested: Doctrine\ORM\PersistentCollection {#4054 …}
              +votes: Doctrine\ORM\PersistentCollection {#4057 …}
              +reports: Doctrine\ORM\PersistentCollection {#4052 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
              -id: 273088
              -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://feddit.it/comment/4682424"
              +editedAt: null
              +createdAt: DateTimeImmutable @1704194921 {#4069
                date: 2024-01-02 12:28:41.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4062}
            +body: """
              I fixed it:\n
              \n
              for future reference:\n
              \n
              - from docs.docker.com/engine/security/rootless/#uninsta…, run `dockerd-rootless-setuptool.sh uninstall`\n
              - delete the user data (**warning**: i wasn’t using any docker volumes and i had no data to lose!!!) using the command that the previous script tells you\n
              - add your user to the docker group and use the traditional “run docker as root” way: docs.docker.com/engine/…/linux-postinstall/#manag…
              """
            +lang: "en"
            +isAdult: false
            +favouriteCount: 5
            +score: 0
            +lastActive: DateTime @1704195952 {#4174
              date: 2024-01-02 12:45:52.0 +01:00
            }
            +ip: null
            +tags: [
              "uninsta"
              "manag"
            ]
            +mentions: [
              "@Moonrise2473@feddit.it"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4170 …}
            +nested: Doctrine\ORM\PersistentCollection {#4166 …}
            +votes: Doctrine\ORM\PersistentCollection {#4164 …}
            +reports: Doctrine\ORM\PersistentCollection {#4179 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4181 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
            -id: 273122
            -bodyTs: "'/engine/':60 '/engine/security/rootless/#uninsta':10 '/linux-postinstall':61 'add':42 'command':35 'data':17,30 'delet':14 'docker':24,47,54 'dockerd-rootless-setuptool.sh':12 'docs.docker.com':9,59 'docs.docker.com/engine/':58 'docs.docker.com/engine/security/rootless/#uninsta':8 'fix':2 'futur':5 'group':48 'lose':32 'manag':62 'previous':38 'refer':6 'root':56 'run':11,53 'script':39 'tell':40 'tradit':52 'uninstal':13 'use':22,33,50 'user':16,44 'volum':25 'warn':18 'wasn':20 'way':57"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://feddit.it/comment/4682586"
            +editedAt: null
            +createdAt: DateTimeImmutable @1704195952 {#4177
              date: 2024-01-02 12:45:52.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4062}
          +body: "Why go through all of that complexity when you could just `sudo apt install docker`?"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 7
          +score: 0
          +lastActive: DateTime @1704197511 {#4239
            date: 2024-01-02 13:11:51.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@Moonrise2473@feddit.it"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4247 …}
          +nested: Doctrine\ORM\PersistentCollection {#4249 …}
          +votes: Doctrine\ORM\PersistentCollection {#4245 …}
          +reports: Doctrine\ORM\PersistentCollection {#4251 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4255 …}
          -id: 273200
          -bodyTs: "'apt':13 'complex':7 'could':10 'docker':15 'go':2 'instal':14 'sudo':12"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/7009410"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704197511 {#4236
            date: 2024-01-02 13:11:51.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4062}
        +body: "i don’t want to type `sudo` before each single `docker` command"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1704199665 {#4298
          date: 2024-01-02 13:47:45.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Moonrise2473@feddit.it"
          "@Atemu@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4294 …}
        +nested: Doctrine\ORM\PersistentCollection {#4290 …}
        +votes: Doctrine\ORM\PersistentCollection {#4288 …}
        +reports: Doctrine\ORM\PersistentCollection {#4303 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
        -id: 273298
        -bodyTs: "'command':12 'docker':11 'singl':10 'sudo':7 'type':6 'want':4"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.it/comment/4683262"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704199665 {#4301
          date: 2024-01-02 13:47:45.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4062}
      +body: """
        You can do that with regular docker. Just add your user to the docker group.\n
        \n
        (don’t forget to log out and log in again after adding new groups to your user)
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 12
      +score: 0
      +lastActive: DateTime @1704201142 {#4347
        date: 2024-01-02 14:12:22.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Moonrise2473@feddit.it"
        "@Atemu@lemmy.ml"
        "@Moonrise2473@feddit.it"
        "@Atemu@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4352 …}
      +nested: Doctrine\ORM\PersistentCollection {#4354 …}
      +votes: Doctrine\ORM\PersistentCollection {#4356 …}
      +reports: Doctrine\ORM\PersistentCollection {#4358 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4360 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4362 …}
      -id: 273357
      -bodyTs: "'ad':27 'add':9 'docker':7,14 'forget':18 'group':15,29 'log':20,23 'new':28 'regular':6 'user':11,32"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://sh.itjust.works/comment/7004371"
      +editedAt: DateTimeImmutable @1710846108 {#4348
        date: 2024-03-19 12:01:48.0 +01:00
      }
      +createdAt: DateTimeImmutable @1704201142 {#4349
        date: 2024-01-02 14:12:22.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4062}
    +body: "Niche use case, but you can also use `newgrp` to run commands with a recently-added group to your user, without having to logout/login yet."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1704204594 {#4390
      date: 2024-01-02 15:09:54.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Atemu@lemmy.ml"
      "@Voroxpete@sh.itjust.works"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4383 …}
    +nested: Doctrine\ORM\PersistentCollection {#4381 …}
    +votes: Doctrine\ORM\PersistentCollection {#4385 …}
    +reports: Doctrine\ORM\PersistentCollection {#4396 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4398 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4400 …}
    -id: 273461
    -bodyTs: "'ad':17 'also':7 'case':3 'command':12 'group':18 'logout/login':25 'newgrp':9 'nich':1 'recent':16 'recently-ad':15 'run':11 'use':2,8 'user':21 'without':22 'yet':26"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://sh.itjust.works/comment/7005071"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704204594 {#4393
      date: 2024-01-02 15:09:54.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4062}
  +body: "Or start a new session by typing bash, when already in bash."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704295802 {#4412
    date: 2024-01-03 16:30:02.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Atemu@lemmy.ml"
    "@Voroxpete@sh.itjust.works"
    "@twiked@sh.itjust.works"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4407 …}
  +nested: Doctrine\ORM\PersistentCollection {#4405 …}
  +votes: Doctrine\ORM\PersistentCollection {#4403 …}
  +reports: Doctrine\ORM\PersistentCollection {#4419 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4421 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4423 …}
  -id: 276691
  -bodyTs: "'alreadi':10 'bash':8,12 'new':4 'session':5 'start':2 'type':7"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmynsfw.com/comment/3589571"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704295802 {#4415
    date: 2024-01-03 16:30:02.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
68 DENIED moderate
App\Entity\EntryComment {#4417
  +user: Proxies\__CG__\App\Entity\User {#4409 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: App\Entity\EntryComment {#4389
    +user: Proxies\__CG__\App\Entity\User {#4386 …}
    +entry: App\Entity\Entry {#2419}
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4350
      +user: Proxies\__CG__\App\Entity\User {#4351 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4297
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4240
          +user: Proxies\__CG__\App\Entity\User {#4243 …}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: App\Entity\EntryComment {#4173
            +user: Proxies\__CG__\App\Entity\User {#1970 …}
            +entry: App\Entity\Entry {#2419}
            +magazine: App\Entity\Magazine {#265}
            +image: null
            +parent: App\Entity\EntryComment {#4062
              +user: Proxies\__CG__\App\Entity\User {#1970 …}
              +entry: App\Entity\Entry {#2419}
              +magazine: App\Entity\Magazine {#265}
              +image: null
              +parent: null
              +root: null
              +body: """
                checked .bash_history, looks like i installed docker in the new rootless mode\n
                \n
                ```\n
                \n
                <span style="color:#323232;">wget get.docker.com\n
                </span><span style="color:#323232;">ls\n
                </span><span style="color:#323232;">mv index.html docker.sh\n
                </span><span style="color:#323232;">chmod +x docker.sh\n
                </span><span style="color:#323232;">./docker.sh\n
                </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
                </span><span style="color:#323232;">sudo dockerd-rootless-setuptool.sh install\n
                </span><span style="color:#323232;">sudo apt install uidmap\n
                </span><span style="color:#323232;">dockerd-rootless-setuptool.sh install\n
                </span>\n
                ```\n
                \n
                now i need to see how to restore it to work in the traditional way or i will become crazy with the permissions…
                """
              +lang: "en"
              +isAdult: false
              +favouriteCount: 5
              +score: 0
              +lastActive: DateTime @1711255062 {#4068
                date: 2024-03-24 05:37:42.0 +01:00
              }
              +ip: null
              +tags: [
                "323232"
              ]
              +mentions: [
                "@Moonrise2473@feddit.it"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4063 …}
              +nested: Doctrine\ORM\PersistentCollection {#4054 …}
              +votes: Doctrine\ORM\PersistentCollection {#4057 …}
              +reports: Doctrine\ORM\PersistentCollection {#4052 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4050 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4048 …}
              -id: 273088
              -bodyTs: "'./docker.sh':23 'apt':30 'bash':2 'becom':53 'check':1 'chmod':20 'crazi':54 'docker':8 'docker.sh':19,22 'dockerd-rootless-setuptool.sh':24,27,33 'get.docker.com':15 'histori':3 'index.html':18 'instal':7,25,28,31,34 'like':5 'look':4 'ls':16 'mode':13 'mv':17 'need':37 'new':11 'permiss':57 'restor':42 'rootless':12 'see':39 'sudo':26,29 'tradit':48 'uidmap':32 'way':49 'wget':14 'work':45 'x':21"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://feddit.it/comment/4682424"
              +editedAt: null
              +createdAt: DateTimeImmutable @1704194921 {#4069
                date: 2024-01-02 12:28:41.0 +01:00
              }
            }
            +root: App\Entity\EntryComment {#4062}
            +body: """
              I fixed it:\n
              \n
              for future reference:\n
              \n
              - from docs.docker.com/engine/security/rootless/#uninsta…, run `dockerd-rootless-setuptool.sh uninstall`\n
              - delete the user data (**warning**: i wasn’t using any docker volumes and i had no data to lose!!!) using the command that the previous script tells you\n
              - add your user to the docker group and use the traditional “run docker as root” way: docs.docker.com/engine/…/linux-postinstall/#manag…
              """
            +lang: "en"
            +isAdult: false
            +favouriteCount: 5
            +score: 0
            +lastActive: DateTime @1704195952 {#4174
              date: 2024-01-02 12:45:52.0 +01:00
            }
            +ip: null
            +tags: [
              "uninsta"
              "manag"
            ]
            +mentions: [
              "@Moonrise2473@feddit.it"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4170 …}
            +nested: Doctrine\ORM\PersistentCollection {#4166 …}
            +votes: Doctrine\ORM\PersistentCollection {#4164 …}
            +reports: Doctrine\ORM\PersistentCollection {#4179 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4181 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4183 …}
            -id: 273122
            -bodyTs: "'/engine/':60 '/engine/security/rootless/#uninsta':10 '/linux-postinstall':61 'add':42 'command':35 'data':17,30 'delet':14 'docker':24,47,54 'dockerd-rootless-setuptool.sh':12 'docs.docker.com':9,59 'docs.docker.com/engine/':58 'docs.docker.com/engine/security/rootless/#uninsta':8 'fix':2 'futur':5 'group':48 'lose':32 'manag':62 'previous':38 'refer':6 'root':56 'run':11,53 'script':39 'tell':40 'tradit':52 'uninstal':13 'use':22,33,50 'user':16,44 'volum':25 'warn':18 'wasn':20 'way':57"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://feddit.it/comment/4682586"
            +editedAt: null
            +createdAt: DateTimeImmutable @1704195952 {#4177
              date: 2024-01-02 12:45:52.0 +01:00
            }
          }
          +root: App\Entity\EntryComment {#4062}
          +body: "Why go through all of that complexity when you could just `sudo apt install docker`?"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 7
          +score: 0
          +lastActive: DateTime @1704197511 {#4239
            date: 2024-01-02 13:11:51.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@Moonrise2473@feddit.it"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4247 …}
          +nested: Doctrine\ORM\PersistentCollection {#4249 …}
          +votes: Doctrine\ORM\PersistentCollection {#4245 …}
          +reports: Doctrine\ORM\PersistentCollection {#4251 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4253 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4255 …}
          -id: 273200
          -bodyTs: "'apt':13 'complex':7 'could':10 'docker':15 'go':2 'instal':14 'sudo':12"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.ml/comment/7009410"
          +editedAt: null
          +createdAt: DateTimeImmutable @1704197511 {#4236
            date: 2024-01-02 13:11:51.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4062}
        +body: "i don’t want to type `sudo` before each single `docker` command"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1704199665 {#4298
          date: 2024-01-02 13:47:45.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Moonrise2473@feddit.it"
          "@Atemu@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4294 …}
        +nested: Doctrine\ORM\PersistentCollection {#4290 …}
        +votes: Doctrine\ORM\PersistentCollection {#4288 …}
        +reports: Doctrine\ORM\PersistentCollection {#4303 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4305 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4307 …}
        -id: 273298
        -bodyTs: "'command':12 'docker':11 'singl':10 'sudo':7 'type':6 'want':4"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://feddit.it/comment/4683262"
        +editedAt: null
        +createdAt: DateTimeImmutable @1704199665 {#4301
          date: 2024-01-02 13:47:45.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4062}
      +body: """
        You can do that with regular docker. Just add your user to the docker group.\n
        \n
        (don’t forget to log out and log in again after adding new groups to your user)
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 12
      +score: 0
      +lastActive: DateTime @1704201142 {#4347
        date: 2024-01-02 14:12:22.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Moonrise2473@feddit.it"
        "@Atemu@lemmy.ml"
        "@Moonrise2473@feddit.it"
        "@Atemu@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4352 …}
      +nested: Doctrine\ORM\PersistentCollection {#4354 …}
      +votes: Doctrine\ORM\PersistentCollection {#4356 …}
      +reports: Doctrine\ORM\PersistentCollection {#4358 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4360 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4362 …}
      -id: 273357
      -bodyTs: "'ad':27 'add':9 'docker':7,14 'forget':18 'group':15,29 'log':20,23 'new':28 'regular':6 'user':11,32"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://sh.itjust.works/comment/7004371"
      +editedAt: DateTimeImmutable @1710846108 {#4348
        date: 2024-03-19 12:01:48.0 +01:00
      }
      +createdAt: DateTimeImmutable @1704201142 {#4349
        date: 2024-01-02 14:12:22.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4062}
    +body: "Niche use case, but you can also use `newgrp` to run commands with a recently-added group to your user, without having to logout/login yet."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1704204594 {#4390
      date: 2024-01-02 15:09:54.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Moonrise2473@feddit.it"
      "@Atemu@lemmy.ml"
      "@Voroxpete@sh.itjust.works"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4383 …}
    +nested: Doctrine\ORM\PersistentCollection {#4381 …}
    +votes: Doctrine\ORM\PersistentCollection {#4385 …}
    +reports: Doctrine\ORM\PersistentCollection {#4396 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4398 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4400 …}
    -id: 273461
    -bodyTs: "'ad':17 'also':7 'case':3 'command':12 'group':18 'logout/login':25 'newgrp':9 'nich':1 'recent':16 'recently-ad':15 'run':11 'use':2,8 'user':21 'without':22 'yet':26"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://sh.itjust.works/comment/7005071"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704204594 {#4393
      date: 2024-01-02 15:09:54.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4062}
  +body: "Or start a new session by typing bash, when already in bash."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1704295802 {#4412
    date: 2024-01-03 16:30:02.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Atemu@lemmy.ml"
    "@Voroxpete@sh.itjust.works"
    "@twiked@sh.itjust.works"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4407 …}
  +nested: Doctrine\ORM\PersistentCollection {#4405 …}
  +votes: Doctrine\ORM\PersistentCollection {#4403 …}
  +reports: Doctrine\ORM\PersistentCollection {#4419 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4421 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4423 …}
  -id: 276691
  -bodyTs: "'alreadi':10 'bash':8,12 'new':4 'session':5 'start':2 'type':7"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmynsfw.com/comment/3589571"
  +editedAt: null
  +createdAt: DateTimeImmutable @1704295802 {#4415
    date: 2024-01-03 16:30:02.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
69 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
70 DENIED moderate
App\Entity\EntryComment {#4043
  +user: App\Entity\User {#4102 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: "I’m not very well versed on docker, but this sounds like a config issue. The behavior seems similar to “squash root” found in many other services."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1704192333 {#4064
    date: 2024-01-02 11:45:33.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Moonrise2473@feddit.it"
    "@Moonrise2473@feddit.it"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4042 …}
  +nested: Doctrine\ORM\PersistentCollection {#4040 …}
  +votes: Doctrine\ORM\PersistentCollection {#4038 …}
  +reports: Doctrine\ORM\PersistentCollection {#4097 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4098 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4100 …}
  -id: 272991
  -bodyTs: "'behavior':17 'config':14 'docker':8 'found':23 'issu':15 'like':12 'm':2 'mani':25 'root':22 'seem':18 'servic':27 'similar':19 'sound':11 'squash':21 'vers':6 'well':5"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.nl/comment/5683362"
  +editedAt: DateTimeImmutable @1710909729 {#4059
    date: 2024-03-20 05:42:09.0 +01:00
  }
  +createdAt: DateTimeImmutable @1704192333 {#4066
    date: 2024-01-02 11:45:33.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
71 DENIED edit
App\Entity\EntryComment {#4043
  +user: App\Entity\User {#4102 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: "I’m not very well versed on docker, but this sounds like a config issue. The behavior seems similar to “squash root” found in many other services."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1704192333 {#4064
    date: 2024-01-02 11:45:33.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Moonrise2473@feddit.it"
    "@Moonrise2473@feddit.it"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4042 …}
  +nested: Doctrine\ORM\PersistentCollection {#4040 …}
  +votes: Doctrine\ORM\PersistentCollection {#4038 …}
  +reports: Doctrine\ORM\PersistentCollection {#4097 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4098 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4100 …}
  -id: 272991
  -bodyTs: "'behavior':17 'config':14 'docker':8 'found':23 'issu':15 'like':12 'm':2 'mani':25 'root':22 'seem':18 'servic':27 'similar':19 'sound':11 'squash':21 'vers':6 'well':5"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.nl/comment/5683362"
  +editedAt: DateTimeImmutable @1710909729 {#4059
    date: 2024-03-20 05:42:09.0 +01:00
  }
  +createdAt: DateTimeImmutable @1704192333 {#4066
    date: 2024-01-02 11:45:33.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
72 DENIED moderate
App\Entity\EntryComment {#4043
  +user: App\Entity\User {#4102 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "selfhosted@lemmy.world"
      +title: "selfhosted"
      +description: """
        A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
        \n
        Rules:\n
        \n
        - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
        - No spam posting.\n
        - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
        - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
        - No trolling.\n
        \n
        Resources:\n
        \n
        - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
        - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
        - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
        \n
        &gt; Any issues on the community? Report it using the report flag.\n
        \n
        &gt; Questions? DM the mods!
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 222
      +entryCommentCount: 3916
      +postCount: 0
      +postCommentCount: 0
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729582735 {#275
        date: 2024-10-22 09:38:55.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 120
      +apId: "selfhosted@lemmy.world"
      +apProfileId: "https://lemmy.world/c/selfhosted"
      +apPublicUrl: "https://lemmy.world/c/selfhosted"
      +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "selfhosted"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1703473826 {#269
        date: 2023-12-25 04:10:26.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1703473826 {#271
        date: 2023-12-25 04:10:26.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Uid-gid-in-docker-containers-don-t-match-the-uid-gid-on-the"
    +title: "Uid/gid in docker containers don't match the uid/gid on the server?"
    +url: null
    +body: """
      Installed a new debian server, installed docker, but then now i have a problem with permissions on passed directories.\n
      \n
      On the previous server, the uid/gids inside the docker container match the uid/gid on the real server.\n
      \n
      Root is 0, www-data is 33, and so on.\n
      \n
      On this new server, instead, files owned by root (0) in the container are translated to 1000 on the server, www-data (33) is 100032, and so on (+1000 appended to the uid)\n
      \n
      Is this normal or did I misconfigure something? On the previous server I was running everything as root (the interactive user was root), and i would like to avoid that
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 17
    +favouriteCount: 42
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1711314477 {#2414
      date: 2024-03-24 22:07:57.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 26687
    -titleTs: "'contain':4 'docker':3 'match':7 'server':12 'uid/gid':1,9"
    -bodyTs: "'+1000':77 '0':39,57 '1000':64 '100032':73 '33':44,71 'append':78 'avoid':110 'contain':29,60 'data':42,70 'debian':4 'directori':19 'docker':7,28 'everyth':97 'file':53 'insid':26 'instal':1,6 'instead':52 'interact':101 'like':108 'match':30 'misconfigur':88 'new':3,50 'normal':84 'own':54 'pass':18 'permiss':16 'previous':22,92 'problem':14 'real':35 'root':37,56,99,104 'run':96 'server':5,23,36,51,67,93 'someth':89 'translat':62 'uid':81 'uid/gid':32 'uid/gids':25 'user':102 'would':107 'www':41,69 'www-data':40,68"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1704278621
    +visibility: "visible             "
    +apId: "https://feddit.it/post/4513735"
    +editedAt: null
    +createdAt: DateTimeImmutable @1704192221 {#1793
      date: 2024-01-02 11:43:41.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: "I’m not very well versed on docker, but this sounds like a config issue. The behavior seems similar to “squash root” found in many other services."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1704192333 {#4064
    date: 2024-01-02 11:45:33.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Moonrise2473@feddit.it"
    "@Moonrise2473@feddit.it"
    "@Moonrise2473@feddit.it"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4042 …}
  +nested: Doctrine\ORM\PersistentCollection {#4040 …}
  +votes: Doctrine\ORM\PersistentCollection {#4038 …}
  +reports: Doctrine\ORM\PersistentCollection {#4097 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4098 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4100 …}
  -id: 272991
  -bodyTs: "'behavior':17 'config':14 'docker':8 'found':23 'issu':15 'like':12 'm':2 'mani':25 'root':22 'seem':18 'servic':27 'similar':19 'sound':11 'squash':21 'vers':6 'well':5"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.nl/comment/5683362"
  +editedAt: DateTimeImmutable @1710909729 {#4059
    date: 2024-03-20 05:42:09.0 +01:00
  }
  +createdAt: DateTimeImmutable @1704192333 {#4066
    date: 2024-01-02 11:45:33.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
73 DENIED edit
App\Entity\Magazine {#265
  +icon: Proxies\__CG__\App\Entity\Image {#246 …}
  +name: "selfhosted@lemmy.world"
  +title: "selfhosted"
  +description: """
    A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
    \n
    Rules:\n
    \n
    - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
    - No spam posting.\n
    - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
    - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
    - No trolling.\n
    \n
    Resources:\n
    \n
    - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
    - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
    - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
    \n
    &gt; Any issues on the community? Report it using the report flag.\n
    \n
    &gt; Questions? DM the mods!
    """
  +rules: null
  +subscriptionsCount: 1
  +entryCount: 222
  +entryCommentCount: 3916
  +postCount: 0
  +postCommentCount: 0
  +isAdult: false
  +customCss: null
  +lastActive: DateTime @1729582735 {#275
    date: 2024-10-22 09:38:55.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#237 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
  +entries: Doctrine\ORM\PersistentCollection {#180 …}
  +posts: Doctrine\ORM\PersistentCollection {#138 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
  +bans: Doctrine\ORM\PersistentCollection {#117 …}
  +reports: Doctrine\ORM\PersistentCollection {#103 …}
  +badges: Doctrine\ORM\PersistentCollection {#81 …}
  +logs: Doctrine\ORM\PersistentCollection {#71 …}
  +awards: Doctrine\ORM\PersistentCollection {#1346 …}
  +categories: Doctrine\ORM\PersistentCollection {#1823 …}
  -id: 120
  +apId: "selfhosted@lemmy.world"
  +apProfileId: "https://lemmy.world/c/selfhosted"
  +apPublicUrl: "https://lemmy.world/c/selfhosted"
  +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
  +apInboxUrl: "https://lemmy.world/inbox"
  +apDomain: "lemmy.world"
  +apPreferredUsername: "selfhosted"
  +apDiscoverable: true
  +apManuallyApprovesFollowers: null
  +privateKey: null
  +publicKey: null
  +apFetchedAt: DateTime @1703473826 {#269
    date: 2023-12-25 04:10:26.0 +01:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1703473826 {#271
    date: 2023-12-25 04:10:26.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS DENIED
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details