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 …}
}
5.64 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.07 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: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#275
      date: 2024-10-22 09:52:22.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: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#269
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#271
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
  +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
  +title: "How to take actions on multiple docker containers at once"
  +url: null
  +body: """
    Again, please tell me if there is a better way to do this.\n
    \n
    While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
    \n
    Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">$ dcl snikket\n
    </span><span style="color:#323232;">b3fcbc808cc9\n
    </span><span style="color:#323232;">1947885fbb24\n
    </span><span style="color:#323232;">054d67d2e8b9\n
    </span><span style="color:#323232;">d8fe9df5f61f\n
    </span>\n
    ```\n
    \n
    So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
    </span><span style="color:#323232;">Error response from daemon: container  is not running\n
    </span><span style="color:#323232;">Error response from daemon: container  is not running\n
    </span><span style="color:#323232;">Error response from daemon: container  is not running\n
    </span><span style="color:#323232;">Error response from daemon: container  is not running\n
    </span>\n
    ```\n
    \n
    The containers weren’t actually running, but this shows the alias working.\n
    \n
    dcl obviously stands for ‘docker container ls’
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 26
  +favouriteCount: 24
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1701208188 {#2414
    date: 2023-11-28 22:49:48.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: 17724
  -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
  -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1701244915
  +visibility: "visible             "
  +apId: "https://lemmy.nz/post/3841751"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701158515 {#1793
    date: 2023-11-28 09:01:55.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: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#275
      date: 2024-10-22 09:52:22.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: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#269
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#271
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
  +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
  +title: "How to take actions on multiple docker containers at once"
  +url: null
  +body: """
    Again, please tell me if there is a better way to do this.\n
    \n
    While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
    \n
    Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">$ dcl snikket\n
    </span><span style="color:#323232;">b3fcbc808cc9\n
    </span><span style="color:#323232;">1947885fbb24\n
    </span><span style="color:#323232;">054d67d2e8b9\n
    </span><span style="color:#323232;">d8fe9df5f61f\n
    </span>\n
    ```\n
    \n
    So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
    </span><span style="color:#323232;">Error response from daemon: container  is not running\n
    </span><span style="color:#323232;">Error response from daemon: container  is not running\n
    </span><span style="color:#323232;">Error response from daemon: container  is not running\n
    </span><span style="color:#323232;">Error response from daemon: container  is not running\n
    </span>\n
    ```\n
    \n
    The containers weren’t actually running, but this shows the alias working.\n
    \n
    dcl obviously stands for ‘docker container ls’
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 26
  +favouriteCount: 24
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1701208188 {#2414
    date: 2023-11-28 22:49:48.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: 17724
  -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
  -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1701244915
  +visibility: "visible             "
  +apId: "https://lemmy.nz/post/3841751"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701158515 {#1793
    date: 2023-11-28 09:01:55.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: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#275
      date: 2024-10-22 09:52:22.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: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#269
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#271
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
  +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
  +title: "How to take actions on multiple docker containers at once"
  +url: null
  +body: """
    Again, please tell me if there is a better way to do this.\n
    \n
    While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
    \n
    Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">$ dcl snikket\n
    </span><span style="color:#323232;">b3fcbc808cc9\n
    </span><span style="color:#323232;">1947885fbb24\n
    </span><span style="color:#323232;">054d67d2e8b9\n
    </span><span style="color:#323232;">d8fe9df5f61f\n
    </span>\n
    ```\n
    \n
    So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
    </span><span style="color:#323232;">Error response from daemon: container  is not running\n
    </span><span style="color:#323232;">Error response from daemon: container  is not running\n
    </span><span style="color:#323232;">Error response from daemon: container  is not running\n
    </span><span style="color:#323232;">Error response from daemon: container  is not running\n
    </span>\n
    ```\n
    \n
    The containers weren’t actually running, but this shows the alias working.\n
    \n
    dcl obviously stands for ‘docker container ls’
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 26
  +favouriteCount: 24
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1701208188 {#2414
    date: 2023-11-28 22:49:48.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: 17724
  -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
  -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1701244915
  +visibility: "visible             "
  +apId: "https://lemmy.nz/post/3841751"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701158515 {#1793
    date: 2023-11-28 09:01:55.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 {#4025
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    You can of course do it this way too, it’s just extra typing:\n
    \n
    `docker container stop $(docker container ls -qf name=snikket)`
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701158715 {#4034
    date: 2023-11-28 09:05:15.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4023 …}
  +nested: Doctrine\ORM\PersistentCollection {#4021 …}
  +votes: Doctrine\ORM\PersistentCollection {#4019 …}
  +reports: Doctrine\ORM\PersistentCollection {#4017 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3985 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3989 …}
  -id: 172876
  -bodyTs: "'contain':16,19 'cours':4 'docker':15,18 'extra':13 'ls':20 'name':22 'qf':21 'snikket':23 'stop':17 'type':14 'way':8"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4065194"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701158715 {#3970
    date: 2023-11-28 09:05:15.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 {#4025
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    You can of course do it this way too, it’s just extra typing:\n
    \n
    `docker container stop $(docker container ls -qf name=snikket)`
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701158715 {#4034
    date: 2023-11-28 09:05:15.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4023 …}
  +nested: Doctrine\ORM\PersistentCollection {#4021 …}
  +votes: Doctrine\ORM\PersistentCollection {#4019 …}
  +reports: Doctrine\ORM\PersistentCollection {#4017 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3985 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3989 …}
  -id: 172876
  -bodyTs: "'contain':16,19 'cours':4 'docker':15,18 'extra':13 'ls':20 'name':22 'qf':21 'snikket':23 'stop':17 'type':14 'way':8"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4065194"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701158715 {#3970
    date: 2023-11-28 09:05:15.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 {#4025
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    You can of course do it this way too, it’s just extra typing:\n
    \n
    `docker container stop $(docker container ls -qf name=snikket)`
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701158715 {#4034
    date: 2023-11-28 09:05:15.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4023 …}
  +nested: Doctrine\ORM\PersistentCollection {#4021 …}
  +votes: Doctrine\ORM\PersistentCollection {#4019 …}
  +reports: Doctrine\ORM\PersistentCollection {#4017 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3985 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3989 …}
  -id: 172876
  -bodyTs: "'contain':16,19 'cours':4 'docker':15,18 'extra':13 'ls':20 'name':22 'qf':21 'snikket':23 'stop':17 'type':14 'way':8"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4065194"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701158715 {#3970
    date: 2023-11-28 09:05:15.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 {#3972
  +user: App\Entity\User {#3959 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: "If the containers are related you could use docker-compose, which has commands to stop / restart/ remove all containers at once."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 13
  +score: 0
  +lastActive: DateTime @1702025273 {#4027
    date: 2023-12-08 09:47:53.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#3974 …}
  +nested: Doctrine\ORM\PersistentCollection {#3977 …}
  +votes: Doctrine\ORM\PersistentCollection {#3969 …}
  +reports: Doctrine\ORM\PersistentCollection {#3967 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3965 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3962 …}
  -id: 172914
  -bodyTs: "'command':14 'compos':11 'contain':3,20 'could':7 'docker':10 'docker-compos':9 'relat':5 'remov':18 'restart':17 'stop':16 'use':8"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.nl/comment/4933871"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701160191 {#4029
    date: 2023-11-28 09:29: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
11 DENIED edit
App\Entity\EntryComment {#3972
  +user: App\Entity\User {#3959 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: "If the containers are related you could use docker-compose, which has commands to stop / restart/ remove all containers at once."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 13
  +score: 0
  +lastActive: DateTime @1702025273 {#4027
    date: 2023-12-08 09:47:53.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#3974 …}
  +nested: Doctrine\ORM\PersistentCollection {#3977 …}
  +votes: Doctrine\ORM\PersistentCollection {#3969 …}
  +reports: Doctrine\ORM\PersistentCollection {#3967 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3965 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3962 …}
  -id: 172914
  -bodyTs: "'command':14 'compos':11 'contain':3,20 'could':7 'docker':10 'docker-compos':9 'relat':5 'remov':18 'restart':17 'stop':16 'use':8"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.nl/comment/4933871"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701160191 {#4029
    date: 2023-11-28 09:29: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
12 DENIED moderate
App\Entity\EntryComment {#3972
  +user: App\Entity\User {#3959 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: "If the containers are related you could use docker-compose, which has commands to stop / restart/ remove all containers at once."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 13
  +score: 0
  +lastActive: DateTime @1702025273 {#4027
    date: 2023-12-08 09:47:53.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#3974 …}
  +nested: Doctrine\ORM\PersistentCollection {#3977 …}
  +votes: Doctrine\ORM\PersistentCollection {#3969 …}
  +reports: Doctrine\ORM\PersistentCollection {#3967 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3965 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3962 …}
  -id: 172914
  -bodyTs: "'command':14 'compos':11 'contain':3,20 'could':7 'docker':10 'docker-compos':9 'relat':5 'remov':18 'restart':17 'stop':16 'use':8"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.nl/comment/4933871"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701160191 {#4029
    date: 2023-11-28 09:29: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
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 {#4044
  +user: App\Entity\User {#4097 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    This works but I’d just create a function and use that instead of creating an alias that creates a function and then calls itself.\n
    \n
    if your containers are created with a docker compose file you can use docker-compose to target them all
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1701923316 {#4049
    date: 2023-12-07 05:28:36.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4043 …}
  +nested: Doctrine\ORM\PersistentCollection {#4041 …}
  +votes: Doctrine\ORM\PersistentCollection {#4039 …}
  +reports: Doctrine\ORM\PersistentCollection {#4037 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4035 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4094 …}
  -id: 172921
  -bodyTs: "'alia':17 'call':24 'compos':34,41 'contain':28 'creat':7,15,19,30 'd':5 'docker':33,40 'docker-compos':39 'file':35 'function':9,21 'instead':13 'target':43 'use':11,38 'work':2"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.de/comment/5218478"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701160512 {#4048
    date: 2023-11-28 09:35:12.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 {#4044
  +user: App\Entity\User {#4097 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    This works but I’d just create a function and use that instead of creating an alias that creates a function and then calls itself.\n
    \n
    if your containers are created with a docker compose file you can use docker-compose to target them all
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1701923316 {#4049
    date: 2023-12-07 05:28:36.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4043 …}
  +nested: Doctrine\ORM\PersistentCollection {#4041 …}
  +votes: Doctrine\ORM\PersistentCollection {#4039 …}
  +reports: Doctrine\ORM\PersistentCollection {#4037 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4035 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4094 …}
  -id: 172921
  -bodyTs: "'alia':17 'call':24 'compos':34,41 'contain':28 'creat':7,15,19,30 'd':5 'docker':33,40 'docker-compos':39 'file':35 'function':9,21 'instead':13 'target':43 'use':11,38 'work':2"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.de/comment/5218478"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701160512 {#4048
    date: 2023-11-28 09:35:12.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 {#4044
  +user: App\Entity\User {#4097 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    This works but I’d just create a function and use that instead of creating an alias that creates a function and then calls itself.\n
    \n
    if your containers are created with a docker compose file you can use docker-compose to target them all
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1701923316 {#4049
    date: 2023-12-07 05:28:36.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4043 …}
  +nested: Doctrine\ORM\PersistentCollection {#4041 …}
  +votes: Doctrine\ORM\PersistentCollection {#4039 …}
  +reports: Doctrine\ORM\PersistentCollection {#4037 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4035 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4094 …}
  -id: 172921
  -bodyTs: "'alia':17 'call':24 'compos':34,41 'contain':28 'creat':7,15,19,30 'd':5 'docker':33,40 'docker-compos':39 'file':35 'function':9,21 'instead':13 'target':43 'use':11,38 'work':2"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.de/comment/5218478"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701160512 {#4048
    date: 2023-11-28 09:35:12.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 {#4158
  +user: App\Entity\User {#4171 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    You can use the container names to address containers. Whether this is a randomly generated name (docker run… with no --name flag), the compose working dir and service name, or the compose container_name var.\n
    \n
    I also rarely use the container command. `docker  ` is sufficient, or `docker compose … ` while in the working dir of a given compose stack.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701163751 {#4153
    date: 2023-11-28 10:29:11.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4159 …}
  +nested: Doctrine\ORM\PersistentCollection {#4161 …}
  +votes: Doctrine\ORM\PersistentCollection {#4163 …}
  +reports: Doctrine\ORM\PersistentCollection {#4165 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4167 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4169 …}
  -id: 173021
  -bodyTs: "'address':8 'also':37 'command':42 'compos':24,32,48,57 'contain':5,9,33,41 'dir':26,53 'docker':17,43,47 'flag':22 'generat':15 'given':56 'name':6,16,21,29,34 'random':14 'rare':38 'run':18 'servic':28 'stack':58 'suffici':45 'use':3,39 'var':35 'whether':10 'work':25,52"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmygrad.ml/comment/3131189"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701163751 {#4154
    date: 2023-11-28 10:29:11.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 {#4158
  +user: App\Entity\User {#4171 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    You can use the container names to address containers. Whether this is a randomly generated name (docker run… with no --name flag), the compose working dir and service name, or the compose container_name var.\n
    \n
    I also rarely use the container command. `docker  ` is sufficient, or `docker compose … ` while in the working dir of a given compose stack.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701163751 {#4153
    date: 2023-11-28 10:29:11.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4159 …}
  +nested: Doctrine\ORM\PersistentCollection {#4161 …}
  +votes: Doctrine\ORM\PersistentCollection {#4163 …}
  +reports: Doctrine\ORM\PersistentCollection {#4165 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4167 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4169 …}
  -id: 173021
  -bodyTs: "'address':8 'also':37 'command':42 'compos':24,32,48,57 'contain':5,9,33,41 'dir':26,53 'docker':17,43,47 'flag':22 'generat':15 'given':56 'name':6,16,21,29,34 'random':14 'rare':38 'run':18 'servic':28 'stack':58 'suffici':45 'use':3,39 'var':35 'whether':10 'work':25,52"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmygrad.ml/comment/3131189"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701163751 {#4154
    date: 2023-11-28 10:29:11.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 {#4158
  +user: App\Entity\User {#4171 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    You can use the container names to address containers. Whether this is a randomly generated name (docker run… with no --name flag), the compose working dir and service name, or the compose container_name var.\n
    \n
    I also rarely use the container command. `docker  ` is sufficient, or `docker compose … ` while in the working dir of a given compose stack.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701163751 {#4153
    date: 2023-11-28 10:29:11.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4159 …}
  +nested: Doctrine\ORM\PersistentCollection {#4161 …}
  +votes: Doctrine\ORM\PersistentCollection {#4163 …}
  +reports: Doctrine\ORM\PersistentCollection {#4165 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4167 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4169 …}
  -id: 173021
  -bodyTs: "'address':8 'also':37 'command':42 'compos':24,32,48,57 'contain':5,9,33,41 'dir':26,53 'docker':17,43,47 'flag':22 'generat':15 'given':56 'name':6,16,21,29,34 'random':14 'rare':38 'run':18 'servic':28 'stack':58 'suffici':45 'use':3,39 'var':35 'whether':10 'work':25,52"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmygrad.ml/comment/3131189"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701163751 {#4154
    date: 2023-11-28 10:29:11.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 {#4231
  +user: App\Entity\User {#4244 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    I often just do\n
    \n
    ```\n
    \n
    <span style="color:#323232;">docker ps | awk "{print $1}" | xargs docker stop\n
    </span>\n
    ```\n
    \n
    Add some filtering in there and you’re golden
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1701999714 {#4226
    date: 2023-12-08 02:41:54.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4232 …}
  +nested: Doctrine\ORM\PersistentCollection {#4234 …}
  +votes: Doctrine\ORM\PersistentCollection {#4236 …}
  +reports: Doctrine\ORM\PersistentCollection {#4238 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4240 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4242 …}
  -id: 173158
  -bodyTs: "'1':9 'add':13 'awk':7 'docker':5,11 'filter':15 'golden':21 'often':2 'print':8 'ps':6 're':20 'stop':12 'xarg':10"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.nu/comment/4062390"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701169323 {#4227
    date: 2023-11-28 12:02:03.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 {#4231
  +user: App\Entity\User {#4244 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    I often just do\n
    \n
    ```\n
    \n
    <span style="color:#323232;">docker ps | awk "{print $1}" | xargs docker stop\n
    </span>\n
    ```\n
    \n
    Add some filtering in there and you’re golden
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1701999714 {#4226
    date: 2023-12-08 02:41:54.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4232 …}
  +nested: Doctrine\ORM\PersistentCollection {#4234 …}
  +votes: Doctrine\ORM\PersistentCollection {#4236 …}
  +reports: Doctrine\ORM\PersistentCollection {#4238 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4240 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4242 …}
  -id: 173158
  -bodyTs: "'1':9 'add':13 'awk':7 'docker':5,11 'filter':15 'golden':21 'often':2 'print':8 'ps':6 're':20 'stop':12 'xarg':10"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.nu/comment/4062390"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701169323 {#4227
    date: 2023-11-28 12:02:03.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 {#4231
  +user: App\Entity\User {#4244 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    I often just do\n
    \n
    ```\n
    \n
    <span style="color:#323232;">docker ps | awk "{print $1}" | xargs docker stop\n
    </span>\n
    ```\n
    \n
    Add some filtering in there and you’re golden
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1701999714 {#4226
    date: 2023-12-08 02:41:54.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4232 …}
  +nested: Doctrine\ORM\PersistentCollection {#4234 …}
  +votes: Doctrine\ORM\PersistentCollection {#4236 …}
  +reports: Doctrine\ORM\PersistentCollection {#4238 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4240 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4242 …}
  -id: 173158
  -bodyTs: "'1':9 'add':13 'awk':7 'docker':5,11 'filter':15 'golden':21 'often':2 'print':8 'ps':6 're':20 'stop':12 'xarg':10"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.nu/comment/4062390"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701169323 {#4227
    date: 2023-11-28 12:02:03.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 {#4304
  +user: App\Entity\User {#4317 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: "Why create the function `_dcl()`?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702001587 {#4299
    date: 2023-12-08 03:13:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4305 …}
  +nested: Doctrine\ORM\PersistentCollection {#4307 …}
  +votes: Doctrine\ORM\PersistentCollection {#4309 …}
  +reports: Doctrine\ORM\PersistentCollection {#4311 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4313 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
  -id: 173289
  -bodyTs: "'creat':2 'dcl':5 'function':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5644382"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701173143 {#4300
    date: 2023-11-28 13:05:43.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 {#4304
  +user: App\Entity\User {#4317 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: "Why create the function `_dcl()`?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702001587 {#4299
    date: 2023-12-08 03:13:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4305 …}
  +nested: Doctrine\ORM\PersistentCollection {#4307 …}
  +votes: Doctrine\ORM\PersistentCollection {#4309 …}
  +reports: Doctrine\ORM\PersistentCollection {#4311 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4313 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
  -id: 173289
  -bodyTs: "'creat':2 'dcl':5 'function':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5644382"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701173143 {#4300
    date: 2023-11-28 13:05:43.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 {#4304
  +user: App\Entity\User {#4317 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: "Why create the function `_dcl()`?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702001587 {#4299
    date: 2023-12-08 03:13:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4305 …}
  +nested: Doctrine\ORM\PersistentCollection {#4307 …}
  +votes: Doctrine\ORM\PersistentCollection {#4309 …}
  +reports: Doctrine\ORM\PersistentCollection {#4311 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4313 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4315 …}
  -id: 173289
  -bodyTs: "'creat':2 'dcl':5 'function':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5644382"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701173143 {#4300
    date: 2023-11-28 13:05:43.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 {#4377
  +user: App\Entity\User {#4390 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: "My better way is just using Portainer, select some containers and hit the stop button."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701999367 {#4372
    date: 2023-12-08 02:36:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4378 …}
  +nested: Doctrine\ORM\PersistentCollection {#4380 …}
  +votes: Doctrine\ORM\PersistentCollection {#4382 …}
  +reports: Doctrine\ORM\PersistentCollection {#4384 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4386 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4388 …}
  -id: 173688
  -bodyTs: "'better':2 'button':15 'contain':10 'hit':12 'portain':7 'select':8 'stop':14 'use':6 'way':3"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.blahaj.zone/comment/4672394"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701178539 {#4373
    date: 2023-11-28 14:35:39.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 {#4377
  +user: App\Entity\User {#4390 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: "My better way is just using Portainer, select some containers and hit the stop button."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701999367 {#4372
    date: 2023-12-08 02:36:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4378 …}
  +nested: Doctrine\ORM\PersistentCollection {#4380 …}
  +votes: Doctrine\ORM\PersistentCollection {#4382 …}
  +reports: Doctrine\ORM\PersistentCollection {#4384 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4386 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4388 …}
  -id: 173688
  -bodyTs: "'better':2 'button':15 'contain':10 'hit':12 'portain':7 'select':8 'stop':14 'use':6 'way':3"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.blahaj.zone/comment/4672394"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701178539 {#4373
    date: 2023-11-28 14:35:39.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 {#4377
  +user: App\Entity\User {#4390 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: "My better way is just using Portainer, select some containers and hit the stop button."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701999367 {#4372
    date: 2023-12-08 02:36:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4378 …}
  +nested: Doctrine\ORM\PersistentCollection {#4380 …}
  +votes: Doctrine\ORM\PersistentCollection {#4382 …}
  +reports: Doctrine\ORM\PersistentCollection {#4384 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4386 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4388 …}
  -id: 173688
  -bodyTs: "'better':2 'button':15 'contain':10 'hit':12 'portain':7 'select':8 'stop':14 'use':6 'way':3"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.blahaj.zone/comment/4672394"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701178539 {#4373
    date: 2023-11-28 14:35:39.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 {#4452
  +user: App\Entity\User {#4465 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    I don’t know if this works in `docker` (usually there is 1:1 equivalency between the two), but with `podman` you can do something like:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">podman stop --filter name=foo\n
    </span>\n
    ```\n
    \n
    `man podman-stop` tells us:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">   --filter, -f=filter\n
    </span><span style="color:#323232;">       Filter what containers are going to be stopped.  Multiple filters can be given with multiple uses of the --filter flag.  Filters with the same  key  work\n
    </span><span style="color:#323232;">       inclusive with the only exception being label which is exclusive. Filters with different keys always work exclusive.\n
    </span>\n
    ```
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701999236 {#4447
    date: 2023-12-08 02:33:56.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4453 …}
  +nested: Doctrine\ORM\PersistentCollection {#4455 …}
  +votes: Doctrine\ORM\PersistentCollection {#4457 …}
  +reports: Doctrine\ORM\PersistentCollection {#4459 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4461 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4463 …}
  -id: 173802
  -bodyTs: "'1':13,14 'alway':81 'contain':43 'differ':79 'docker':9 'equival':15 'except':71 'exclus':76,83 'f':39 'filter':29,38,40,41,50,59,61,77 'flag':60 'foo':31 'given':53 'go':45 'inclus':67 'key':65,80 'know':4 'label':73 'like':26 'man':32 'multipl':49,55 'name':30 'podman':21,27,34 'podman-stop':33 'someth':25 'stop':28,35,48 'tell':36 'two':18 'us':37 'use':56 'usual':10 'work':7,66,82"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5647437"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701184603 {#4448
    date: 2023-11-28 16:16:43.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 {#4452
  +user: App\Entity\User {#4465 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    I don’t know if this works in `docker` (usually there is 1:1 equivalency between the two), but with `podman` you can do something like:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">podman stop --filter name=foo\n
    </span>\n
    ```\n
    \n
    `man podman-stop` tells us:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">   --filter, -f=filter\n
    </span><span style="color:#323232;">       Filter what containers are going to be stopped.  Multiple filters can be given with multiple uses of the --filter flag.  Filters with the same  key  work\n
    </span><span style="color:#323232;">       inclusive with the only exception being label which is exclusive. Filters with different keys always work exclusive.\n
    </span>\n
    ```
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701999236 {#4447
    date: 2023-12-08 02:33:56.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4453 …}
  +nested: Doctrine\ORM\PersistentCollection {#4455 …}
  +votes: Doctrine\ORM\PersistentCollection {#4457 …}
  +reports: Doctrine\ORM\PersistentCollection {#4459 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4461 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4463 …}
  -id: 173802
  -bodyTs: "'1':13,14 'alway':81 'contain':43 'differ':79 'docker':9 'equival':15 'except':71 'exclus':76,83 'f':39 'filter':29,38,40,41,50,59,61,77 'flag':60 'foo':31 'given':53 'go':45 'inclus':67 'key':65,80 'know':4 'label':73 'like':26 'man':32 'multipl':49,55 'name':30 'podman':21,27,34 'podman-stop':33 'someth':25 'stop':28,35,48 'tell':36 'two':18 'us':37 'use':56 'usual':10 'work':7,66,82"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5647437"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701184603 {#4448
    date: 2023-11-28 16:16:43.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 {#4452
  +user: App\Entity\User {#4465 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    I don’t know if this works in `docker` (usually there is 1:1 equivalency between the two), but with `podman` you can do something like:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">podman stop --filter name=foo\n
    </span>\n
    ```\n
    \n
    `man podman-stop` tells us:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">   --filter, -f=filter\n
    </span><span style="color:#323232;">       Filter what containers are going to be stopped.  Multiple filters can be given with multiple uses of the --filter flag.  Filters with the same  key  work\n
    </span><span style="color:#323232;">       inclusive with the only exception being label which is exclusive. Filters with different keys always work exclusive.\n
    </span>\n
    ```
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701999236 {#4447
    date: 2023-12-08 02:33:56.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4453 …}
  +nested: Doctrine\ORM\PersistentCollection {#4455 …}
  +votes: Doctrine\ORM\PersistentCollection {#4457 …}
  +reports: Doctrine\ORM\PersistentCollection {#4459 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4461 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4463 …}
  -id: 173802
  -bodyTs: "'1':13,14 'alway':81 'contain':43 'differ':79 'docker':9 'equival':15 'except':71 'exclus':76,83 'f':39 'filter':29,38,40,41,50,59,61,77 'flag':60 'foo':31 'given':53 'go':45 'inclus':67 'key':65,80 'know':4 'label':73 'like':26 'man':32 'multipl':49,55 'name':30 'podman':21,27,34 'podman-stop':33 'someth':25 'stop':28,35,48 'tell':36 'two':18 'us':37 'use':56 'usual':10 'work':7,66,82"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5647437"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701184603 {#4448
    date: 2023-11-28 16:16:43.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 {#4525
  +user: App\Entity\User {#4538 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: "I’m using docker packages for Doom Emacs. The main one is [docker.el](https://github.com/Silex/docker.el/blob/master/README.md). On top of being faster and easier to use than the cli, you can also do some pretty neat stuff like use dired+tramp to browse files and open them in Emacs."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701197822 {#4520
    date: 2023-11-28 19:57:02.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4526 …}
  +nested: Doctrine\ORM\PersistentCollection {#4528 …}
  +votes: Doctrine\ORM\PersistentCollection {#4530 …}
  +reports: Doctrine\ORM\PersistentCollection {#4532 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4534 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4536 …}
  -id: 174448
  -bodyTs: "'/silex/docker.el/blob/master/readme.md).':16 'also':31 'brows':42 'cli':28 'dire':39 'docker':4 'docker.el':13 'doom':7 'easier':23 'emac':8,48 'faster':21 'file':43 'github.com':15 'github.com/silex/docker.el/blob/master/readme.md).':14 'like':37 'm':2 'main':10 'neat':35 'one':11 'open':45 'packag':5 'pretti':34 'stuff':36 'top':18 'tramp':40 'use':3,25,38"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/5256955"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701197822 {#4521
    date: 2023-11-28 19:57: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
39 DENIED edit
App\Entity\EntryComment {#4525
  +user: App\Entity\User {#4538 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: "I’m using docker packages for Doom Emacs. The main one is [docker.el](https://github.com/Silex/docker.el/blob/master/README.md). On top of being faster and easier to use than the cli, you can also do some pretty neat stuff like use dired+tramp to browse files and open them in Emacs."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701197822 {#4520
    date: 2023-11-28 19:57:02.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4526 …}
  +nested: Doctrine\ORM\PersistentCollection {#4528 …}
  +votes: Doctrine\ORM\PersistentCollection {#4530 …}
  +reports: Doctrine\ORM\PersistentCollection {#4532 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4534 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4536 …}
  -id: 174448
  -bodyTs: "'/silex/docker.el/blob/master/readme.md).':16 'also':31 'brows':42 'cli':28 'dire':39 'docker':4 'docker.el':13 'doom':7 'easier':23 'emac':8,48 'faster':21 'file':43 'github.com':15 'github.com/silex/docker.el/blob/master/readme.md).':14 'like':37 'm':2 'main':10 'neat':35 'one':11 'open':45 'packag':5 'pretti':34 'stuff':36 'top':18 'tramp':40 'use':3,25,38"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/5256955"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701197822 {#4521
    date: 2023-11-28 19:57: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
40 DENIED moderate
App\Entity\EntryComment {#4525
  +user: App\Entity\User {#4538 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: "I’m using docker packages for Doom Emacs. The main one is [docker.el](https://github.com/Silex/docker.el/blob/master/README.md). On top of being faster and easier to use than the cli, you can also do some pretty neat stuff like use dired+tramp to browse files and open them in Emacs."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701197822 {#4520
    date: 2023-11-28 19:57:02.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4526 …}
  +nested: Doctrine\ORM\PersistentCollection {#4528 …}
  +votes: Doctrine\ORM\PersistentCollection {#4530 …}
  +reports: Doctrine\ORM\PersistentCollection {#4532 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4534 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4536 …}
  -id: 174448
  -bodyTs: "'/silex/docker.el/blob/master/readme.md).':16 'also':31 'brows':42 'cli':28 'dire':39 'docker':4 'docker.el':13 'doom':7 'easier':23 'emac':8,48 'faster':21 'file':43 'github.com':15 'github.com/silex/docker.el/blob/master/readme.md).':14 'like':37 'm':2 'main':10 'neat':35 'one':11 'open':45 'packag':5 'pretti':34 'stuff':36 'top':18 'tramp':40 'use':3,25,38"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/5256955"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701197822 {#4521
    date: 2023-11-28 19:57: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
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 {#4598
  +user: App\Entity\User {#4611 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    Just a few shortcuts that may help:\n
    \n
    - `docker ps` is an alias for `docker container ls`\n
    - as long as it can be uniquely identified, a prefix of the container ID can be used instead of copy pasting the entire ID\n
    - you can use container names instead of IDs\n
    - tab completion works for container names\n
    \n
    As someone else suggested though, docker compose is probably best suited for this job, but hopefully this helps in other situations.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701202547 {#4593
    date: 2023-11-28 21:15:47.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4599 …}
  +nested: Doctrine\ORM\PersistentCollection {#4601 …}
  +votes: Doctrine\ORM\PersistentCollection {#4603 …}
  +reports: Doctrine\ORM\PersistentCollection {#4605 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4607 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4609 …}
  -id: 174713
  -bodyTs: "'alia':12 'best':64 'complet':50 'compos':61 'contain':15,29,44,53 'copi':36 'docker':8,14,60 'els':57 'entir':39 'help':7,72 'hope':70 'id':30,40,48 'identifi':24 'instead':34,46 'job':68 'long':18 'ls':16 'may':6 'name':45,54 'past':37 'prefix':26 'probabl':63 'ps':9 'shortcut':4 'situat':75 'someon':56 'suggest':58 'suit':65 'tab':49 'though':59 'uniqu':23 'use':33,43 'work':51"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sh.itjust.works/comment/6047596"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701202547 {#4594
    date: 2023-11-28 21:15: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
43 DENIED edit
App\Entity\EntryComment {#4598
  +user: App\Entity\User {#4611 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    Just a few shortcuts that may help:\n
    \n
    - `docker ps` is an alias for `docker container ls`\n
    - as long as it can be uniquely identified, a prefix of the container ID can be used instead of copy pasting the entire ID\n
    - you can use container names instead of IDs\n
    - tab completion works for container names\n
    \n
    As someone else suggested though, docker compose is probably best suited for this job, but hopefully this helps in other situations.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701202547 {#4593
    date: 2023-11-28 21:15:47.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4599 …}
  +nested: Doctrine\ORM\PersistentCollection {#4601 …}
  +votes: Doctrine\ORM\PersistentCollection {#4603 …}
  +reports: Doctrine\ORM\PersistentCollection {#4605 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4607 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4609 …}
  -id: 174713
  -bodyTs: "'alia':12 'best':64 'complet':50 'compos':61 'contain':15,29,44,53 'copi':36 'docker':8,14,60 'els':57 'entir':39 'help':7,72 'hope':70 'id':30,40,48 'identifi':24 'instead':34,46 'job':68 'long':18 'ls':16 'may':6 'name':45,54 'past':37 'prefix':26 'probabl':63 'ps':9 'shortcut':4 'situat':75 'someon':56 'suggest':58 'suit':65 'tab':49 'though':59 'uniqu':23 'use':33,43 'work':51"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sh.itjust.works/comment/6047596"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701202547 {#4594
    date: 2023-11-28 21:15: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
44 DENIED moderate
App\Entity\EntryComment {#4598
  +user: App\Entity\User {#4611 …}
  +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: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.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: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "How-to-take-actions-on-multiple-docker-containers-at-once"
    +title: "How to take actions on multiple docker containers at once"
    +url: null
    +body: """
      Again, please tell me if there is a better way to do this.\n
      \n
      While testing docker, frequently I need to start/stop/rm containers. I got *real sick* of having to ls them and copy paste the container ID.\n
      \n
      Using this alias, I just have to remember a single part of the name of the container, and I will get the container IDs that can then be included as part of another command:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ alias dcl='_dcl(){ docker container ls -aq -f name="$1";}; _dcl'\n
      </span><span style="color:#323232;">\n
      </span><span style="color:#323232;">$ dcl snikket\n
      </span><span style="color:#323232;">b3fcbc808cc9\n
      </span><span style="color:#323232;">1947885fbb24\n
      </span><span style="color:#323232;">054d67d2e8b9\n
      </span><span style="color:#323232;">d8fe9df5f61f\n
      </span>\n
      ```\n
      \n
      So now that I’m getting a list of IDs, I can easily, for example, pause all of them:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$ docker container pause $( dcl snikket )\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span><span style="color:#323232;">Error response from daemon: container  is not running\n
      </span>\n
      ```\n
      \n
      The containers weren’t actually running, but this shows the alias working.\n
      \n
      dcl obviously stands for ‘docker container ls’
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 26
    +favouriteCount: 24
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701208188 {#2414
      date: 2023-11-28 22:49:48.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: 17724
    -titleTs: "'action':4 'contain':8 'docker':7 'multipl':6 'take':3"
    -bodyTs: "'054d67d2e8b9':87 '1':81 '1947885fbb24':86 'actual':149 'alia':40,72,155 'anoth':70 'aq':78 'b3fcbc808cc9':85 'better':9 'command':71 'contain':22,36,54,60,76,109,117,125,133,141,146,162 'copi':33 'd8fe9df5f61f':88 'daemon':116,124,132,140 'dcl':73,74,82,83,111,157 'docker':16,75,108,161 'easili':101 'error':113,121,129,137 'exampl':103 'f':79 'frequent':17 'get':58,94 'got':24 'id':37,61,98 'includ':66 'list':96 'ls':30,77,163 'm':93 'name':51,80 'need':19 'obvious':158 'part':48,68 'past':34 'paus':104,110 'pleas':2 'real':25 'rememb':45 'respons':114,122,130,138 'run':120,128,136,144,150 'show':153 'sick':26 'singl':47 'snikket':84,112 'stand':159 'start/stop/rm':21 'tell':3 'test':15 'use':38 'way':10 'weren':147 'work':156"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701244915
    +visibility: "visible             "
    +apId: "https://lemmy.nz/post/3841751"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701158515 {#1793
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#265}
  +image: null
  +parent: null
  +root: null
  +body: """
    Just a few shortcuts that may help:\n
    \n
    - `docker ps` is an alias for `docker container ls`\n
    - as long as it can be uniquely identified, a prefix of the container ID can be used instead of copy pasting the entire ID\n
    - you can use container names instead of IDs\n
    - tab completion works for container names\n
    \n
    As someone else suggested though, docker compose is probably best suited for this job, but hopefully this helps in other situations.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701202547 {#4593
    date: 2023-11-28 21:15:47.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4599 …}
  +nested: Doctrine\ORM\PersistentCollection {#4601 …}
  +votes: Doctrine\ORM\PersistentCollection {#4603 …}
  +reports: Doctrine\ORM\PersistentCollection {#4605 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4607 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4609 …}
  -id: 174713
  -bodyTs: "'alia':12 'best':64 'complet':50 'compos':61 'contain':15,29,44,53 'copi':36 'docker':8,14,60 'els':57 'entir':39 'help':7,72 'hope':70 'id':30,40,48 'identifi':24 'instead':34,46 'job':68 'long':18 'ls':16 'may':6 'name':45,54 'past':37 'prefix':26 'probabl':63 'ps':9 'shortcut':4 'situat':75 'someon':56 'suggest':58 'suit':65 'tab':49 'though':59 'uniqu':23 'use':33,43 'work':51"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sh.itjust.works/comment/6047596"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701202547 {#4594
    date: 2023-11-28 21:15: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
45 DENIED edit
App\Entity\Magazine {#265
  +icon: Proxies\__CG__\App\Entity\Image {#246 …}
  +name: "linux@lemmy.ml"
  +title: "linux"
  +description: """
    From Wikipedia, the free encyclopedia\n
    \n
    Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
    \n
    Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
    \n
    ### Rules\n
    \n
    - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
    - No misinformation\n
    - No NSFW content\n
    - No hate speech, bigotry, etc\n
    \n
    ### Related Communities\n
    \n
    - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
    - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
    - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
    - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
    \n
    Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
    """
  +rules: null
  +subscriptionsCount: 1
  +entryCount: 1406
  +entryCommentCount: 28632
  +postCount: 6
  +postCommentCount: 214
  +isAdult: false
  +customCss: null
  +lastActive: DateTime @1729583542 {#275
    date: 2024-10-22 09:52:22.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: 73
  +apId: "linux@lemmy.ml"
  +apProfileId: "https://lemmy.ml/c/linux"
  +apPublicUrl: "https://lemmy.ml/c/linux"
  +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
  +apInboxUrl: "https://lemmy.ml/inbox"
  +apDomain: "lemmy.ml"
  +apPreferredUsername: "linux"
  +apDiscoverable: true
  +apManuallyApprovesFollowers: null
  +privateKey: null
  +publicKey: null
  +apFetchedAt: DateTime @1729583596 {#269
    date: 2024-10-22 09:53:16.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1698929468 {#271
    date: 2023-11-02 13:51:08.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