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 …}
}
0.89 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#584
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#595 …}
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#582
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#842 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#581 …}
}
0.05 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#579
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#937 …}
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#786
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#841 …}
  -csrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#1015 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
}
0.00 ms (none)

Authenticators

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

Access Decision

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

Access decision log

# Result Attributes Object
1 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
2 DENIED moderate
App\Entity\Entry {#2388
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +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 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -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 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
  +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 {#2410
    date: 2023-11-28 22:49:48.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1866 …}
  +votes: Doctrine\ORM\PersistentCollection {#1978 …}
  +reports: Doctrine\ORM\PersistentCollection {#1946 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
  +badges: Doctrine\ORM\PersistentCollection {#2426 …}
  +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 {#1850
    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 {#2388
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +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 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -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 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
  +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 {#2410
    date: 2023-11-28 22:49:48.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1866 …}
  +votes: Doctrine\ORM\PersistentCollection {#1978 …}
  +reports: Doctrine\ORM\PersistentCollection {#1946 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
  +badges: Doctrine\ORM\PersistentCollection {#2426 …}
  +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 {#1850
    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 {#2388
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +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 {#276
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -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 {#270
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#272
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
  +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 {#2410
    date: 2023-11-28 22:49:48.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1866 …}
  +votes: Doctrine\ORM\PersistentCollection {#1978 …}
  +reports: Doctrine\ORM\PersistentCollection {#1946 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
  +badges: Doctrine\ORM\PersistentCollection {#2426 …}
  +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 {#1850
    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 {#4041
  +user: App\Entity\User {#3989 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4050
    date: 2023-11-28 21:15:47.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4039 …}
  +nested: Doctrine\ORM\PersistentCollection {#4037 …}
  +votes: Doctrine\ORM\PersistentCollection {#4035 …}
  +reports: Doctrine\ORM\PersistentCollection {#4033 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4001 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4005 …}
  -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 {#3986
    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
7 DENIED edit
App\Entity\EntryComment {#4041
  +user: App\Entity\User {#3989 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4050
    date: 2023-11-28 21:15:47.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4039 …}
  +nested: Doctrine\ORM\PersistentCollection {#4037 …}
  +votes: Doctrine\ORM\PersistentCollection {#4035 …}
  +reports: Doctrine\ORM\PersistentCollection {#4033 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4001 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4005 …}
  -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 {#3986
    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
8 DENIED moderate
App\Entity\EntryComment {#4041
  +user: App\Entity\User {#3989 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4050
    date: 2023-11-28 21:15:47.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4039 …}
  +nested: Doctrine\ORM\PersistentCollection {#4037 …}
  +votes: Doctrine\ORM\PersistentCollection {#4035 …}
  +reports: Doctrine\ORM\PersistentCollection {#4033 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4001 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4005 …}
  -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 {#3986
    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
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 {#4078
  +user: App\Entity\User {#4061 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4084
    date: 2023-11-28 19:57:02.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4076 …}
  +nested: Doctrine\ORM\PersistentCollection {#4074 …}
  +votes: Doctrine\ORM\PersistentCollection {#4072 …}
  +reports: Doctrine\ORM\PersistentCollection {#4069 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4065 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4063 …}
  -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 {#4082
    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
11 DENIED edit
App\Entity\EntryComment {#4078
  +user: App\Entity\User {#4061 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4084
    date: 2023-11-28 19:57:02.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4076 …}
  +nested: Doctrine\ORM\PersistentCollection {#4074 …}
  +votes: Doctrine\ORM\PersistentCollection {#4072 …}
  +reports: Doctrine\ORM\PersistentCollection {#4069 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4065 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4063 …}
  -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 {#4082
    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
12 DENIED moderate
App\Entity\EntryComment {#4078
  +user: App\Entity\User {#4061 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4084
    date: 2023-11-28 19:57:02.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4076 …}
  +nested: Doctrine\ORM\PersistentCollection {#4074 …}
  +votes: Doctrine\ORM\PersistentCollection {#4072 …}
  +reports: Doctrine\ORM\PersistentCollection {#4069 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4065 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4063 …}
  -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 {#4082
    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
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 {#4159
  +user: App\Entity\User {#4172 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4154
    date: 2023-12-08 02:33:56.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4160 …}
  +nested: Doctrine\ORM\PersistentCollection {#4162 …}
  +votes: Doctrine\ORM\PersistentCollection {#4164 …}
  +reports: Doctrine\ORM\PersistentCollection {#4166 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4168 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4170 …}
  -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 {#4155
    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
15 DENIED edit
App\Entity\EntryComment {#4159
  +user: App\Entity\User {#4172 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4154
    date: 2023-12-08 02:33:56.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4160 …}
  +nested: Doctrine\ORM\PersistentCollection {#4162 …}
  +votes: Doctrine\ORM\PersistentCollection {#4164 …}
  +reports: Doctrine\ORM\PersistentCollection {#4166 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4168 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4170 …}
  -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 {#4155
    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
16 DENIED moderate
App\Entity\EntryComment {#4159
  +user: App\Entity\User {#4172 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4154
    date: 2023-12-08 02:33:56.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4160 …}
  +nested: Doctrine\ORM\PersistentCollection {#4162 …}
  +votes: Doctrine\ORM\PersistentCollection {#4164 …}
  +reports: Doctrine\ORM\PersistentCollection {#4166 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4168 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4170 …}
  -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 {#4155
    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
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 {#4805
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4159
    +user: App\Entity\User {#4172 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +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 {#4154
      date: 2023-12-08 02:33:56.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4160 …}
    +nested: Doctrine\ORM\PersistentCollection {#4162 …}
    +votes: Doctrine\ORM\PersistentCollection {#4164 …}
    +reports: Doctrine\ORM\PersistentCollection {#4166 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4168 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4170 …}
    -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 {#4155
      date: 2023-11-28 16:16:43.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4159}
  +body: """
    ```\n
    \n
    <span style="color:#323232;">Usage:  docker stop [OPTIONS] CONTAINER [CONTAINER...]\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">Options:\n
    </span><span style="color:#323232;">  -s, --signal string   Signal to send to the container\n
    </span><span style="color:#323232;">  -t, --time int        Seconds to wait before killing the container\n
    </span>\n
    ```\n
    \n
    Unfortunately no filter here
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701197122 {#4803
    date: 2023-11-28 19:45:22.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@luthis@lemmy.nz"
    "@kwozyman@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4806 …}
  +nested: Doctrine\ORM\PersistentCollection {#4808 …}
  +votes: Doctrine\ORM\PersistentCollection {#4810 …}
  +reports: Doctrine\ORM\PersistentCollection {#4812 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4814 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4816 …}
  -id: 174424
  -bodyTs: "'contain':5,6,16,26 'docker':2 'filter':29 'int':19 'kill':24 'option':4,7 'second':20 'send':13 'signal':9,11 'stop':3 'string':10 'time':18 'unfortun':27 'usag':1 'wait':22"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4074743"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701197122 {#4804
    date: 2023-11-28 19:45:22.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
19 DENIED edit
App\Entity\EntryComment {#4805
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4159
    +user: App\Entity\User {#4172 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +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 {#4154
      date: 2023-12-08 02:33:56.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4160 …}
    +nested: Doctrine\ORM\PersistentCollection {#4162 …}
    +votes: Doctrine\ORM\PersistentCollection {#4164 …}
    +reports: Doctrine\ORM\PersistentCollection {#4166 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4168 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4170 …}
    -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 {#4155
      date: 2023-11-28 16:16:43.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4159}
  +body: """
    ```\n
    \n
    <span style="color:#323232;">Usage:  docker stop [OPTIONS] CONTAINER [CONTAINER...]\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">Options:\n
    </span><span style="color:#323232;">  -s, --signal string   Signal to send to the container\n
    </span><span style="color:#323232;">  -t, --time int        Seconds to wait before killing the container\n
    </span>\n
    ```\n
    \n
    Unfortunately no filter here
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701197122 {#4803
    date: 2023-11-28 19:45:22.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@luthis@lemmy.nz"
    "@kwozyman@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4806 …}
  +nested: Doctrine\ORM\PersistentCollection {#4808 …}
  +votes: Doctrine\ORM\PersistentCollection {#4810 …}
  +reports: Doctrine\ORM\PersistentCollection {#4812 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4814 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4816 …}
  -id: 174424
  -bodyTs: "'contain':5,6,16,26 'docker':2 'filter':29 'int':19 'kill':24 'option':4,7 'second':20 'send':13 'signal':9,11 'stop':3 'string':10 'time':18 'unfortun':27 'usag':1 'wait':22"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4074743"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701197122 {#4804
    date: 2023-11-28 19:45:22.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
20 DENIED moderate
App\Entity\EntryComment {#4805
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4159
    +user: App\Entity\User {#4172 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +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 {#4154
      date: 2023-12-08 02:33:56.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4160 …}
    +nested: Doctrine\ORM\PersistentCollection {#4162 …}
    +votes: Doctrine\ORM\PersistentCollection {#4164 …}
    +reports: Doctrine\ORM\PersistentCollection {#4166 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4168 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4170 …}
    -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 {#4155
      date: 2023-11-28 16:16:43.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4159}
  +body: """
    ```\n
    \n
    <span style="color:#323232;">Usage:  docker stop [OPTIONS] CONTAINER [CONTAINER...]\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">Options:\n
    </span><span style="color:#323232;">  -s, --signal string   Signal to send to the container\n
    </span><span style="color:#323232;">  -t, --time int        Seconds to wait before killing the container\n
    </span>\n
    ```\n
    \n
    Unfortunately no filter here
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701197122 {#4803
    date: 2023-11-28 19:45:22.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@luthis@lemmy.nz"
    "@kwozyman@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4806 …}
  +nested: Doctrine\ORM\PersistentCollection {#4808 …}
  +votes: Doctrine\ORM\PersistentCollection {#4810 …}
  +reports: Doctrine\ORM\PersistentCollection {#4812 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4814 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4816 …}
  -id: 174424
  -bodyTs: "'contain':5,6,16,26 'docker':2 'filter':29 'int':19 'kill':24 'option':4,7 'second':20 'send':13 'signal':9,11 'stop':3 'string':10 'time':18 'unfortun':27 'usag':1 'wait':22"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4074743"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701197122 {#4804
    date: 2023-11-28 19:45:22.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
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 {#4232
  +user: App\Entity\User {#4245 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4227
    date: 2023-12-08 02:36:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4233 …}
  +nested: Doctrine\ORM\PersistentCollection {#4235 …}
  +votes: Doctrine\ORM\PersistentCollection {#4237 …}
  +reports: Doctrine\ORM\PersistentCollection {#4239 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4241 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4243 …}
  -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 {#4228
    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
23 DENIED edit
App\Entity\EntryComment {#4232
  +user: App\Entity\User {#4245 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4227
    date: 2023-12-08 02:36:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4233 …}
  +nested: Doctrine\ORM\PersistentCollection {#4235 …}
  +votes: Doctrine\ORM\PersistentCollection {#4237 …}
  +reports: Doctrine\ORM\PersistentCollection {#4239 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4241 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4243 …}
  -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 {#4228
    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
24 DENIED moderate
App\Entity\EntryComment {#4232
  +user: App\Entity\User {#4245 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4227
    date: 2023-12-08 02:36:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4233 …}
  +nested: Doctrine\ORM\PersistentCollection {#4235 …}
  +votes: Doctrine\ORM\PersistentCollection {#4237 …}
  +reports: Doctrine\ORM\PersistentCollection {#4239 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4241 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4243 …}
  -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 {#4228
    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
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 {#4790
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4232
    +user: App\Entity\User {#4245 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +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 {#4227
      date: 2023-12-08 02:36:07.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4233 …}
    +nested: Doctrine\ORM\PersistentCollection {#4235 …}
    +votes: Doctrine\ORM\PersistentCollection {#4237 …}
    +reports: Doctrine\ORM\PersistentCollection {#4239 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4241 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4243 …}
    -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 {#4228
      date: 2023-11-28 14:35:39.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4232}
  +body: "If I eventually get around to using a GUI, I’ll check out portainer"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701197212 {#4788
    date: 2023-11-28 19:46:52.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@MangoPenguin@lemmy.blahaj.zone"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4791 …}
  +nested: Doctrine\ORM\PersistentCollection {#4793 …}
  +votes: Doctrine\ORM\PersistentCollection {#4795 …}
  +reports: Doctrine\ORM\PersistentCollection {#4797 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4799 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4801 …}
  -id: 174428
  -bodyTs: "'around':5 'check':12 'eventu':3 'get':4 'gui':9 'll':11 'portain':14 'use':7"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4074776"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701197212 {#4789
    date: 2023-11-28 19:46:52.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
27 DENIED edit
App\Entity\EntryComment {#4790
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4232
    +user: App\Entity\User {#4245 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +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 {#4227
      date: 2023-12-08 02:36:07.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4233 …}
    +nested: Doctrine\ORM\PersistentCollection {#4235 …}
    +votes: Doctrine\ORM\PersistentCollection {#4237 …}
    +reports: Doctrine\ORM\PersistentCollection {#4239 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4241 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4243 …}
    -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 {#4228
      date: 2023-11-28 14:35:39.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4232}
  +body: "If I eventually get around to using a GUI, I’ll check out portainer"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701197212 {#4788
    date: 2023-11-28 19:46:52.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@MangoPenguin@lemmy.blahaj.zone"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4791 …}
  +nested: Doctrine\ORM\PersistentCollection {#4793 …}
  +votes: Doctrine\ORM\PersistentCollection {#4795 …}
  +reports: Doctrine\ORM\PersistentCollection {#4797 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4799 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4801 …}
  -id: 174428
  -bodyTs: "'around':5 'check':12 'eventu':3 'get':4 'gui':9 'll':11 'portain':14 'use':7"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4074776"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701197212 {#4789
    date: 2023-11-28 19:46:52.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
28 DENIED moderate
App\Entity\EntryComment {#4790
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4232
    +user: App\Entity\User {#4245 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +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 {#4227
      date: 2023-12-08 02:36:07.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4233 …}
    +nested: Doctrine\ORM\PersistentCollection {#4235 …}
    +votes: Doctrine\ORM\PersistentCollection {#4237 …}
    +reports: Doctrine\ORM\PersistentCollection {#4239 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4241 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4243 …}
    -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 {#4228
      date: 2023-11-28 14:35:39.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4232}
  +body: "If I eventually get around to using a GUI, I’ll check out portainer"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701197212 {#4788
    date: 2023-11-28 19:46:52.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@MangoPenguin@lemmy.blahaj.zone"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4791 …}
  +nested: Doctrine\ORM\PersistentCollection {#4793 …}
  +votes: Doctrine\ORM\PersistentCollection {#4795 …}
  +reports: Doctrine\ORM\PersistentCollection {#4797 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4799 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4801 …}
  -id: 174428
  -bodyTs: "'around':5 'check':12 'eventu':3 'get':4 'gui':9 'll':11 'portain':14 'use':7"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4074776"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701197212 {#4789
    date: 2023-11-28 19:46:52.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
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 {#4307
  +user: App\Entity\User {#4320 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Why create the function `_dcl()`?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702001587 {#4302
    date: 2023-12-08 03:13:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4308 …}
  +nested: Doctrine\ORM\PersistentCollection {#4310 …}
  +votes: Doctrine\ORM\PersistentCollection {#4312 …}
  +reports: Doctrine\ORM\PersistentCollection {#4314 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4316 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4318 …}
  -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 {#4303
    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
31 DENIED edit
App\Entity\EntryComment {#4307
  +user: App\Entity\User {#4320 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Why create the function `_dcl()`?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702001587 {#4302
    date: 2023-12-08 03:13:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4308 …}
  +nested: Doctrine\ORM\PersistentCollection {#4310 …}
  +votes: Doctrine\ORM\PersistentCollection {#4312 …}
  +reports: Doctrine\ORM\PersistentCollection {#4314 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4316 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4318 …}
  -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 {#4303
    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
32 DENIED moderate
App\Entity\EntryComment {#4307
  +user: App\Entity\User {#4320 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Why create the function `_dcl()`?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702001587 {#4302
    date: 2023-12-08 03:13:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4308 …}
  +nested: Doctrine\ORM\PersistentCollection {#4310 …}
  +votes: Doctrine\ORM\PersistentCollection {#4312 …}
  +reports: Doctrine\ORM\PersistentCollection {#4314 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4316 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4318 …}
  -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 {#4303
    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
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 {#4775
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4307
    +user: App\Entity\User {#4320 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Why create the function `_dcl()`?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1702001587 {#4302
      date: 2023-12-08 03:13:07.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4308 …}
    +nested: Doctrine\ORM\PersistentCollection {#4310 …}
    +votes: Doctrine\ORM\PersistentCollection {#4312 …}
    +reports: Doctrine\ORM\PersistentCollection {#4314 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4316 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4318 …}
    -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 {#4303
      date: 2023-11-28 13:05:43.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4307}
  +body: "I needed a way to pass an argument into the command so it can be used in name=“$1”"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701197524 {#4773
    date: 2023-11-28 19:52:04.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@FishFace@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4776 …}
  +nested: Doctrine\ORM\PersistentCollection {#4778 …}
  +votes: Doctrine\ORM\PersistentCollection {#4780 …}
  +reports: Doctrine\ORM\PersistentCollection {#4782 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4784 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4786 …}
  -id: 174439
  -bodyTs: "'1':19 'argument':8 'command':11 'name':18 'need':2 'pass':6 'use':16 'way':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4074848"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701197524 {#4774
    date: 2023-11-28 19:52:04.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 {#4775
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4307
    +user: App\Entity\User {#4320 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Why create the function `_dcl()`?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1702001587 {#4302
      date: 2023-12-08 03:13:07.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4308 …}
    +nested: Doctrine\ORM\PersistentCollection {#4310 …}
    +votes: Doctrine\ORM\PersistentCollection {#4312 …}
    +reports: Doctrine\ORM\PersistentCollection {#4314 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4316 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4318 …}
    -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 {#4303
      date: 2023-11-28 13:05:43.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4307}
  +body: "I needed a way to pass an argument into the command so it can be used in name=“$1”"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701197524 {#4773
    date: 2023-11-28 19:52:04.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@FishFace@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4776 …}
  +nested: Doctrine\ORM\PersistentCollection {#4778 …}
  +votes: Doctrine\ORM\PersistentCollection {#4780 …}
  +reports: Doctrine\ORM\PersistentCollection {#4782 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4784 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4786 …}
  -id: 174439
  -bodyTs: "'1':19 'argument':8 'command':11 'name':18 'need':2 'pass':6 'use':16 'way':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4074848"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701197524 {#4774
    date: 2023-11-28 19:52:04.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 {#4775
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4307
    +user: App\Entity\User {#4320 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Why create the function `_dcl()`?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1702001587 {#4302
      date: 2023-12-08 03:13:07.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4308 …}
    +nested: Doctrine\ORM\PersistentCollection {#4310 …}
    +votes: Doctrine\ORM\PersistentCollection {#4312 …}
    +reports: Doctrine\ORM\PersistentCollection {#4314 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4316 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4318 …}
    -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 {#4303
      date: 2023-11-28 13:05:43.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4307}
  +body: "I needed a way to pass an argument into the command so it can be used in name=“$1”"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701197524 {#4773
    date: 2023-11-28 19:52:04.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@FishFace@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4776 …}
  +nested: Doctrine\ORM\PersistentCollection {#4778 …}
  +votes: Doctrine\ORM\PersistentCollection {#4780 …}
  +reports: Doctrine\ORM\PersistentCollection {#4782 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4784 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4786 …}
  -id: 174439
  -bodyTs: "'1':19 'argument':8 'command':11 'name':18 'need':2 'pass':6 'use':16 'way':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4074848"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701197524 {#4774
    date: 2023-11-28 19:52:04.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 {#4921
  +user: App\Entity\User {#4320 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4775
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4307
      +user: App\Entity\User {#4320 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Why create the function `_dcl()`?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1702001587 {#4302
        date: 2023-12-08 03:13:07.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4308 …}
      +nested: Doctrine\ORM\PersistentCollection {#4310 …}
      +votes: Doctrine\ORM\PersistentCollection {#4312 …}
      +reports: Doctrine\ORM\PersistentCollection {#4314 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4316 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4318 …}
      -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 {#4303
        date: 2023-11-28 13:05:43.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4307}
    +body: "I needed a way to pass an argument into the command so it can be used in name=“$1”"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701197524 {#4773
      date: 2023-11-28 19:52:04.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@FishFace@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4776 …}
    +nested: Doctrine\ORM\PersistentCollection {#4778 …}
    +votes: Doctrine\ORM\PersistentCollection {#4780 …}
    +reports: Doctrine\ORM\PersistentCollection {#4782 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4784 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4786 …}
    -id: 174439
    -bodyTs: "'1':19 'argument':8 'command':11 'name':18 'need':2 'pass':6 'use':16 'way':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4074848"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701197524 {#4774
      date: 2023-11-28 19:52:04.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4307}
  +body: """
    you could instead do:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">dcl() { docker container ls -aq -f name="$1" }\n
    </span>\n
    ```\n
    \n
    in `bashrc` or wherever you’re setting this up.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701198261 {#4919
    date: 2023-11-28 20:04:21.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@luthis@lemmy.nz"
    "@FishFace@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4922 …}
  +nested: Doctrine\ORM\PersistentCollection {#4924 …}
  +votes: Doctrine\ORM\PersistentCollection {#4926 …}
  +reports: Doctrine\ORM\PersistentCollection {#4928 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4930 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4932 …}
  -id: 174482
  -bodyTs: "'1':12 'aq':9 'bashrc':14 'contain':7 'could':2 'dcl':5 'docker':6 'f':10 'instead':3 'ls':8 'name':11 're':18 'set':19 'wherev':16"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5651456"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701198261 {#4920
    date: 2023-11-28 20:04:21.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 {#4921
  +user: App\Entity\User {#4320 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4775
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4307
      +user: App\Entity\User {#4320 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Why create the function `_dcl()`?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1702001587 {#4302
        date: 2023-12-08 03:13:07.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4308 …}
      +nested: Doctrine\ORM\PersistentCollection {#4310 …}
      +votes: Doctrine\ORM\PersistentCollection {#4312 …}
      +reports: Doctrine\ORM\PersistentCollection {#4314 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4316 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4318 …}
      -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 {#4303
        date: 2023-11-28 13:05:43.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4307}
    +body: "I needed a way to pass an argument into the command so it can be used in name=“$1”"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701197524 {#4773
      date: 2023-11-28 19:52:04.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@FishFace@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4776 …}
    +nested: Doctrine\ORM\PersistentCollection {#4778 …}
    +votes: Doctrine\ORM\PersistentCollection {#4780 …}
    +reports: Doctrine\ORM\PersistentCollection {#4782 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4784 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4786 …}
    -id: 174439
    -bodyTs: "'1':19 'argument':8 'command':11 'name':18 'need':2 'pass':6 'use':16 'way':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4074848"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701197524 {#4774
      date: 2023-11-28 19:52:04.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4307}
  +body: """
    you could instead do:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">dcl() { docker container ls -aq -f name="$1" }\n
    </span>\n
    ```\n
    \n
    in `bashrc` or wherever you’re setting this up.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701198261 {#4919
    date: 2023-11-28 20:04:21.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@luthis@lemmy.nz"
    "@FishFace@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4922 …}
  +nested: Doctrine\ORM\PersistentCollection {#4924 …}
  +votes: Doctrine\ORM\PersistentCollection {#4926 …}
  +reports: Doctrine\ORM\PersistentCollection {#4928 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4930 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4932 …}
  -id: 174482
  -bodyTs: "'1':12 'aq':9 'bashrc':14 'contain':7 'could':2 'dcl':5 'docker':6 'f':10 'instead':3 'ls':8 'name':11 're':18 'set':19 'wherev':16"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5651456"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701198261 {#4920
    date: 2023-11-28 20:04:21.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 {#4921
  +user: App\Entity\User {#4320 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4775
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4307
      +user: App\Entity\User {#4320 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Why create the function `_dcl()`?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1702001587 {#4302
        date: 2023-12-08 03:13:07.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4308 …}
      +nested: Doctrine\ORM\PersistentCollection {#4310 …}
      +votes: Doctrine\ORM\PersistentCollection {#4312 …}
      +reports: Doctrine\ORM\PersistentCollection {#4314 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4316 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4318 …}
      -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 {#4303
        date: 2023-11-28 13:05:43.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4307}
    +body: "I needed a way to pass an argument into the command so it can be used in name=“$1”"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701197524 {#4773
      date: 2023-11-28 19:52:04.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@FishFace@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4776 …}
    +nested: Doctrine\ORM\PersistentCollection {#4778 …}
    +votes: Doctrine\ORM\PersistentCollection {#4780 …}
    +reports: Doctrine\ORM\PersistentCollection {#4782 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4784 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4786 …}
    -id: 174439
    -bodyTs: "'1':19 'argument':8 'command':11 'name':18 'need':2 'pass':6 'use':16 'way':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4074848"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701197524 {#4774
      date: 2023-11-28 19:52:04.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4307}
  +body: """
    you could instead do:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">dcl() { docker container ls -aq -f name="$1" }\n
    </span>\n
    ```\n
    \n
    in `bashrc` or wherever you’re setting this up.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701198261 {#4919
    date: 2023-11-28 20:04:21.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@luthis@lemmy.nz"
    "@FishFace@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4922 …}
  +nested: Doctrine\ORM\PersistentCollection {#4924 …}
  +votes: Doctrine\ORM\PersistentCollection {#4926 …}
  +reports: Doctrine\ORM\PersistentCollection {#4928 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4930 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4932 …}
  -id: 174482
  -bodyTs: "'1':12 'aq':9 'bashrc':14 'contain':7 'could':2 'dcl':5 'docker':6 'f':10 'instead':3 'ls':8 'name':11 're':18 'set':19 'wherev':16"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5651456"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701198261 {#4920
    date: 2023-11-28 20:04:21.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 {#4380
  +user: App\Entity\User {#4393 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4375
    date: 2023-12-08 02:41:54.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4381 …}
  +nested: Doctrine\ORM\PersistentCollection {#4383 …}
  +votes: Doctrine\ORM\PersistentCollection {#4385 …}
  +reports: Doctrine\ORM\PersistentCollection {#4387 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4389 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4391 …}
  -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 {#4376
    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
43 DENIED edit
App\Entity\EntryComment {#4380
  +user: App\Entity\User {#4393 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4375
    date: 2023-12-08 02:41:54.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4381 …}
  +nested: Doctrine\ORM\PersistentCollection {#4383 …}
  +votes: Doctrine\ORM\PersistentCollection {#4385 …}
  +reports: Doctrine\ORM\PersistentCollection {#4387 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4389 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4391 …}
  -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 {#4376
    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
44 DENIED moderate
App\Entity\EntryComment {#4380
  +user: App\Entity\User {#4393 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4375
    date: 2023-12-08 02:41:54.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4381 …}
  +nested: Doctrine\ORM\PersistentCollection {#4383 …}
  +votes: Doctrine\ORM\PersistentCollection {#4385 …}
  +reports: Doctrine\ORM\PersistentCollection {#4387 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4389 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4391 …}
  -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 {#4376
    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
45 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
46 DENIED moderate
App\Entity\EntryComment {#4744
  +user: Proxies\__CG__\App\Entity\User {#4745 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4380
    +user: App\Entity\User {#4393 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +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 {#4375
      date: 2023-12-08 02:41:54.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4381 …}
    +nested: Doctrine\ORM\PersistentCollection {#4383 …}
    +votes: Doctrine\ORM\PersistentCollection {#4385 …}
    +reports: Doctrine\ORM\PersistentCollection {#4387 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4389 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4391 …}
    -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 {#4376
      date: 2023-11-28 12:02:03.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4380}
  +body: "This is what I do as well"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701188925 {#4742
    date: 2023-11-28 17:28:45.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@hanke@feddit.nu"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4746 …}
  +nested: Doctrine\ORM\PersistentCollection {#4748 …}
  +votes: Doctrine\ORM\PersistentCollection {#4750 …}
  +reports: Doctrine\ORM\PersistentCollection {#4752 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4754 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4756 …}
  -id: 174016
  -bodyTs: "'well':7"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sopuli.xyz/comment/4970811"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701188925 {#4743
    date: 2023-11-28 17:28:45.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
47 DENIED edit
App\Entity\EntryComment {#4744
  +user: Proxies\__CG__\App\Entity\User {#4745 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4380
    +user: App\Entity\User {#4393 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +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 {#4375
      date: 2023-12-08 02:41:54.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4381 …}
    +nested: Doctrine\ORM\PersistentCollection {#4383 …}
    +votes: Doctrine\ORM\PersistentCollection {#4385 …}
    +reports: Doctrine\ORM\PersistentCollection {#4387 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4389 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4391 …}
    -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 {#4376
      date: 2023-11-28 12:02:03.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4380}
  +body: "This is what I do as well"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701188925 {#4742
    date: 2023-11-28 17:28:45.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@hanke@feddit.nu"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4746 …}
  +nested: Doctrine\ORM\PersistentCollection {#4748 …}
  +votes: Doctrine\ORM\PersistentCollection {#4750 …}
  +reports: Doctrine\ORM\PersistentCollection {#4752 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4754 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4756 …}
  -id: 174016
  -bodyTs: "'well':7"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sopuli.xyz/comment/4970811"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701188925 {#4743
    date: 2023-11-28 17:28:45.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
48 DENIED moderate
App\Entity\EntryComment {#4744
  +user: Proxies\__CG__\App\Entity\User {#4745 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4380
    +user: App\Entity\User {#4393 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +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 {#4375
      date: 2023-12-08 02:41:54.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4381 …}
    +nested: Doctrine\ORM\PersistentCollection {#4383 …}
    +votes: Doctrine\ORM\PersistentCollection {#4385 …}
    +reports: Doctrine\ORM\PersistentCollection {#4387 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4389 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4391 …}
    -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 {#4376
      date: 2023-11-28 12:02:03.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4380}
  +body: "This is what I do as well"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701188925 {#4742
    date: 2023-11-28 17:28:45.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@hanke@feddit.nu"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4746 …}
  +nested: Doctrine\ORM\PersistentCollection {#4748 …}
  +votes: Doctrine\ORM\PersistentCollection {#4750 …}
  +reports: Doctrine\ORM\PersistentCollection {#4752 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4754 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4756 …}
  -id: 174016
  -bodyTs: "'well':7"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sopuli.xyz/comment/4970811"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701188925 {#4743
    date: 2023-11-28 17:28:45.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
49 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
50 DENIED moderate
App\Entity\EntryComment {#4760
  +user: App\Entity\User {#4245 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4380
    +user: App\Entity\User {#4393 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +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 {#4375
      date: 2023-12-08 02:41:54.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4381 …}
    +nested: Doctrine\ORM\PersistentCollection {#4383 …}
    +votes: Doctrine\ORM\PersistentCollection {#4385 …}
    +reports: Doctrine\ORM\PersistentCollection {#4387 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4389 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4391 …}
    -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 {#4376
      date: 2023-11-28 12:02:03.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4380}
  +body: "How tf do you remember that lol, I’m always amazed by CLI focused people being able to remember so much!"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701178500 {#4758
    date: 2023-11-28 14:35:00.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@hanke@feddit.nu"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4761 …}
  +nested: Doctrine\ORM\PersistentCollection {#4763 …}
  +votes: Doctrine\ORM\PersistentCollection {#4765 …}
  +reports: Doctrine\ORM\PersistentCollection {#4767 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4769 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4771 …}
  -id: 173686
  -bodyTs: "'abl':17 'alway':10 'amaz':11 'cli':13 'focus':14 'lol':7 'm':9 'much':21 'peopl':15 'rememb':5,19 'tf':2"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.blahaj.zone/comment/4672385"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701178500 {#4759
    date: 2023-11-28 14:35:00.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
51 DENIED edit
App\Entity\EntryComment {#4760
  +user: App\Entity\User {#4245 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4380
    +user: App\Entity\User {#4393 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +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 {#4375
      date: 2023-12-08 02:41:54.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4381 …}
    +nested: Doctrine\ORM\PersistentCollection {#4383 …}
    +votes: Doctrine\ORM\PersistentCollection {#4385 …}
    +reports: Doctrine\ORM\PersistentCollection {#4387 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4389 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4391 …}
    -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 {#4376
      date: 2023-11-28 12:02:03.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4380}
  +body: "How tf do you remember that lol, I’m always amazed by CLI focused people being able to remember so much!"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701178500 {#4758
    date: 2023-11-28 14:35:00.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@hanke@feddit.nu"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4761 …}
  +nested: Doctrine\ORM\PersistentCollection {#4763 …}
  +votes: Doctrine\ORM\PersistentCollection {#4765 …}
  +reports: Doctrine\ORM\PersistentCollection {#4767 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4769 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4771 …}
  -id: 173686
  -bodyTs: "'abl':17 'alway':10 'amaz':11 'cli':13 'focus':14 'lol':7 'm':9 'much':21 'peopl':15 'rememb':5,19 'tf':2"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.blahaj.zone/comment/4672385"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701178500 {#4759
    date: 2023-11-28 14:35:00.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
52 DENIED moderate
App\Entity\EntryComment {#4760
  +user: App\Entity\User {#4245 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4380
    +user: App\Entity\User {#4393 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +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 {#4375
      date: 2023-12-08 02:41:54.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4381 …}
    +nested: Doctrine\ORM\PersistentCollection {#4383 …}
    +votes: Doctrine\ORM\PersistentCollection {#4385 …}
    +reports: Doctrine\ORM\PersistentCollection {#4387 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4389 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4391 …}
    -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 {#4376
      date: 2023-11-28 12:02:03.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4380}
  +body: "How tf do you remember that lol, I’m always amazed by CLI focused people being able to remember so much!"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701178500 {#4758
    date: 2023-11-28 14:35:00.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@hanke@feddit.nu"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4761 …}
  +nested: Doctrine\ORM\PersistentCollection {#4763 …}
  +votes: Doctrine\ORM\PersistentCollection {#4765 …}
  +reports: Doctrine\ORM\PersistentCollection {#4767 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4769 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4771 …}
  -id: 173686
  -bodyTs: "'abl':17 'alway':10 'amaz':11 'cli':13 'focus':14 'lol':7 'm':9 'much':21 'peopl':15 'rememb':5,19 'tf':2"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.blahaj.zone/comment/4672385"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701178500 {#4759
    date: 2023-11-28 14:35:00.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
53 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
54 DENIED moderate
App\Entity\EntryComment {#4891
  +user: App\Entity\User {#4393 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4760
    +user: App\Entity\User {#4245 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4380
      +user: App\Entity\User {#4393 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4375
        date: 2023-12-08 02:41:54.0 +01:00
      }
      +ip: null
      +tags: [
        "323232"
      ]
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4381 …}
      +nested: Doctrine\ORM\PersistentCollection {#4383 …}
      +votes: Doctrine\ORM\PersistentCollection {#4385 …}
      +reports: Doctrine\ORM\PersistentCollection {#4387 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4389 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4391 …}
      -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 {#4376
        date: 2023-11-28 12:02:03.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4380}
    +body: "How tf do you remember that lol, I’m always amazed by CLI focused people being able to remember so much!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1701178500 {#4758
      date: 2023-11-28 14:35:00.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@hanke@feddit.nu"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4761 …}
    +nested: Doctrine\ORM\PersistentCollection {#4763 …}
    +votes: Doctrine\ORM\PersistentCollection {#4765 …}
    +reports: Doctrine\ORM\PersistentCollection {#4767 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4769 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4771 …}
    -id: 173686
    -bodyTs: "'abl':17 'alway':10 'amaz':11 'cli':13 'focus':14 'lol':7 'm':9 'much':21 'peopl':15 'rememb':5,19 'tf':2"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.blahaj.zone/comment/4672385"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701178500 {#4759
      date: 2023-11-28 14:35:00.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4380}
  +body: """
    I think it has to do with creativity!\n
    \n
    The CLI tools are just small simple tools. The power comes from having the understanding of how each tool works and how they can be combined.\n
    \n
    I don’t remember this string of commands, I know docker, awk and xargs. When I need this, that is the solution I always end up with.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1701178837 {#4889
    date: 2023-11-28 14:40:37.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@hanke@feddit.nu"
    "@MangoPenguin@lemmy.blahaj.zone"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4892 …}
  +nested: Doctrine\ORM\PersistentCollection {#4894 …}
  +votes: Doctrine\ORM\PersistentCollection {#4896 …}
  +reports: Doctrine\ORM\PersistentCollection {#4898 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4900 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4902 …}
  -id: 173712
  -bodyTs: "'alway':58 'awk':46 'cli':10 'combin':34 'come':19 'command':42 'creativ':8 'docker':45 'end':59 'know':44 'need':51 'power':18 'rememb':38 'simpl':15 'small':14 'solut':56 'string':40 'think':2 'tool':11,16,27 'understand':23 'work':28 'xarg':48"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.nu/comment/4064792"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701178837 {#4890
    date: 2023-11-28 14:40:37.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
55 DENIED edit
App\Entity\EntryComment {#4891
  +user: App\Entity\User {#4393 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4760
    +user: App\Entity\User {#4245 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4380
      +user: App\Entity\User {#4393 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4375
        date: 2023-12-08 02:41:54.0 +01:00
      }
      +ip: null
      +tags: [
        "323232"
      ]
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4381 …}
      +nested: Doctrine\ORM\PersistentCollection {#4383 …}
      +votes: Doctrine\ORM\PersistentCollection {#4385 …}
      +reports: Doctrine\ORM\PersistentCollection {#4387 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4389 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4391 …}
      -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 {#4376
        date: 2023-11-28 12:02:03.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4380}
    +body: "How tf do you remember that lol, I’m always amazed by CLI focused people being able to remember so much!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1701178500 {#4758
      date: 2023-11-28 14:35:00.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@hanke@feddit.nu"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4761 …}
    +nested: Doctrine\ORM\PersistentCollection {#4763 …}
    +votes: Doctrine\ORM\PersistentCollection {#4765 …}
    +reports: Doctrine\ORM\PersistentCollection {#4767 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4769 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4771 …}
    -id: 173686
    -bodyTs: "'abl':17 'alway':10 'amaz':11 'cli':13 'focus':14 'lol':7 'm':9 'much':21 'peopl':15 'rememb':5,19 'tf':2"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.blahaj.zone/comment/4672385"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701178500 {#4759
      date: 2023-11-28 14:35:00.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4380}
  +body: """
    I think it has to do with creativity!\n
    \n
    The CLI tools are just small simple tools. The power comes from having the understanding of how each tool works and how they can be combined.\n
    \n
    I don’t remember this string of commands, I know docker, awk and xargs. When I need this, that is the solution I always end up with.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1701178837 {#4889
    date: 2023-11-28 14:40:37.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@hanke@feddit.nu"
    "@MangoPenguin@lemmy.blahaj.zone"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4892 …}
  +nested: Doctrine\ORM\PersistentCollection {#4894 …}
  +votes: Doctrine\ORM\PersistentCollection {#4896 …}
  +reports: Doctrine\ORM\PersistentCollection {#4898 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4900 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4902 …}
  -id: 173712
  -bodyTs: "'alway':58 'awk':46 'cli':10 'combin':34 'come':19 'command':42 'creativ':8 'docker':45 'end':59 'know':44 'need':51 'power':18 'rememb':38 'simpl':15 'small':14 'solut':56 'string':40 'think':2 'tool':11,16,27 'understand':23 'work':28 'xarg':48"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.nu/comment/4064792"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701178837 {#4890
    date: 2023-11-28 14:40:37.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
56 DENIED moderate
App\Entity\EntryComment {#4891
  +user: App\Entity\User {#4393 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4760
    +user: App\Entity\User {#4245 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4380
      +user: App\Entity\User {#4393 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4375
        date: 2023-12-08 02:41:54.0 +01:00
      }
      +ip: null
      +tags: [
        "323232"
      ]
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4381 …}
      +nested: Doctrine\ORM\PersistentCollection {#4383 …}
      +votes: Doctrine\ORM\PersistentCollection {#4385 …}
      +reports: Doctrine\ORM\PersistentCollection {#4387 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4389 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4391 …}
      -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 {#4376
        date: 2023-11-28 12:02:03.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4380}
    +body: "How tf do you remember that lol, I’m always amazed by CLI focused people being able to remember so much!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1701178500 {#4758
      date: 2023-11-28 14:35:00.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@hanke@feddit.nu"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4761 …}
    +nested: Doctrine\ORM\PersistentCollection {#4763 …}
    +votes: Doctrine\ORM\PersistentCollection {#4765 …}
    +reports: Doctrine\ORM\PersistentCollection {#4767 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4769 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4771 …}
    -id: 173686
    -bodyTs: "'abl':17 'alway':10 'amaz':11 'cli':13 'focus':14 'lol':7 'm':9 'much':21 'peopl':15 'rememb':5,19 'tf':2"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.blahaj.zone/comment/4672385"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701178500 {#4759
      date: 2023-11-28 14:35:00.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4380}
  +body: """
    I think it has to do with creativity!\n
    \n
    The CLI tools are just small simple tools. The power comes from having the understanding of how each tool works and how they can be combined.\n
    \n
    I don’t remember this string of commands, I know docker, awk and xargs. When I need this, that is the solution I always end up with.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1701178837 {#4889
    date: 2023-11-28 14:40:37.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@hanke@feddit.nu"
    "@MangoPenguin@lemmy.blahaj.zone"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4892 …}
  +nested: Doctrine\ORM\PersistentCollection {#4894 …}
  +votes: Doctrine\ORM\PersistentCollection {#4896 …}
  +reports: Doctrine\ORM\PersistentCollection {#4898 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4900 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4902 …}
  -id: 173712
  -bodyTs: "'alway':58 'awk':46 'cli':10 'combin':34 'come':19 'command':42 'creativ':8 'docker':45 'end':59 'know':44 'need':51 'power':18 'rememb':38 'simpl':15 'small':14 'solut':56 'string':40 'think':2 'tool':11,16,27 'understand':23 'work':28 'xarg':48"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.nu/comment/4064792"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701178837 {#4890
    date: 2023-11-28 14:40:37.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
57 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
58 DENIED moderate
App\Entity\EntryComment {#4906
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4760
    +user: App\Entity\User {#4245 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4380
      +user: App\Entity\User {#4393 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4375
        date: 2023-12-08 02:41:54.0 +01:00
      }
      +ip: null
      +tags: [
        "323232"
      ]
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4381 …}
      +nested: Doctrine\ORM\PersistentCollection {#4383 …}
      +votes: Doctrine\ORM\PersistentCollection {#4385 …}
      +reports: Doctrine\ORM\PersistentCollection {#4387 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4389 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4391 …}
      -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 {#4376
        date: 2023-11-28 12:02:03.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4380}
    +body: "How tf do you remember that lol, I’m always amazed by CLI focused people being able to remember so much!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1701178500 {#4758
      date: 2023-11-28 14:35:00.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@hanke@feddit.nu"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4761 …}
    +nested: Doctrine\ORM\PersistentCollection {#4763 …}
    +votes: Doctrine\ORM\PersistentCollection {#4765 …}
    +reports: Doctrine\ORM\PersistentCollection {#4767 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4769 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4771 …}
    -id: 173686
    -bodyTs: "'abl':17 'alway':10 'amaz':11 'cli':13 'focus':14 'lol':7 'm':9 'much':21 'peopl':15 'rememb':5,19 'tf':2"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.blahaj.zone/comment/4672385"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701178500 {#4759
      date: 2023-11-28 14:35:00.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4380}
  +body: """
    Dude, I use the CLI *all day, every day* and I can’t freakin remember half the commands I need.\n
    \n
    If it’s something I use often, I’ll make an alias even if it’s just so I can run ‘alias’ in the terminal to get a list of things I use often.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701197351 {#4904
    date: 2023-11-28 19:49:11.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@hanke@feddit.nu"
    "@MangoPenguin@lemmy.blahaj.zone"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4907 …}
  +nested: Doctrine\ORM\PersistentCollection {#4909 …}
  +votes: Doctrine\ORM\PersistentCollection {#4911 …}
  +reports: Doctrine\ORM\PersistentCollection {#4913 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4915 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4917 …}
  -id: 174433
  -bodyTs: "'alia':32,42 'cli':5 'command':18 'day':7,9 'dude':1 'even':33 'everi':8 'freakin':14 'get':47 'half':16 'list':49 'll':29 'make':30 'need':20 'often':27,54 'rememb':15 'run':41 'someth':24 'termin':45 'thing':51 'use':3,26,53"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4074807"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701197351 {#4905
    date: 2023-11-28 19:49: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
59 DENIED edit
App\Entity\EntryComment {#4906
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4760
    +user: App\Entity\User {#4245 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4380
      +user: App\Entity\User {#4393 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4375
        date: 2023-12-08 02:41:54.0 +01:00
      }
      +ip: null
      +tags: [
        "323232"
      ]
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4381 …}
      +nested: Doctrine\ORM\PersistentCollection {#4383 …}
      +votes: Doctrine\ORM\PersistentCollection {#4385 …}
      +reports: Doctrine\ORM\PersistentCollection {#4387 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4389 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4391 …}
      -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 {#4376
        date: 2023-11-28 12:02:03.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4380}
    +body: "How tf do you remember that lol, I’m always amazed by CLI focused people being able to remember so much!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1701178500 {#4758
      date: 2023-11-28 14:35:00.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@hanke@feddit.nu"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4761 …}
    +nested: Doctrine\ORM\PersistentCollection {#4763 …}
    +votes: Doctrine\ORM\PersistentCollection {#4765 …}
    +reports: Doctrine\ORM\PersistentCollection {#4767 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4769 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4771 …}
    -id: 173686
    -bodyTs: "'abl':17 'alway':10 'amaz':11 'cli':13 'focus':14 'lol':7 'm':9 'much':21 'peopl':15 'rememb':5,19 'tf':2"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.blahaj.zone/comment/4672385"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701178500 {#4759
      date: 2023-11-28 14:35:00.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4380}
  +body: """
    Dude, I use the CLI *all day, every day* and I can’t freakin remember half the commands I need.\n
    \n
    If it’s something I use often, I’ll make an alias even if it’s just so I can run ‘alias’ in the terminal to get a list of things I use often.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701197351 {#4904
    date: 2023-11-28 19:49:11.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@hanke@feddit.nu"
    "@MangoPenguin@lemmy.blahaj.zone"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4907 …}
  +nested: Doctrine\ORM\PersistentCollection {#4909 …}
  +votes: Doctrine\ORM\PersistentCollection {#4911 …}
  +reports: Doctrine\ORM\PersistentCollection {#4913 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4915 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4917 …}
  -id: 174433
  -bodyTs: "'alia':32,42 'cli':5 'command':18 'day':7,9 'dude':1 'even':33 'everi':8 'freakin':14 'get':47 'half':16 'list':49 'll':29 'make':30 'need':20 'often':27,54 'rememb':15 'run':41 'someth':24 'termin':45 'thing':51 'use':3,26,53"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4074807"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701197351 {#4905
    date: 2023-11-28 19:49: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
60 DENIED moderate
App\Entity\EntryComment {#4906
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4760
    +user: App\Entity\User {#4245 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4380
      +user: App\Entity\User {#4393 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4375
        date: 2023-12-08 02:41:54.0 +01:00
      }
      +ip: null
      +tags: [
        "323232"
      ]
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4381 …}
      +nested: Doctrine\ORM\PersistentCollection {#4383 …}
      +votes: Doctrine\ORM\PersistentCollection {#4385 …}
      +reports: Doctrine\ORM\PersistentCollection {#4387 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4389 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4391 …}
      -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 {#4376
        date: 2023-11-28 12:02:03.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4380}
    +body: "How tf do you remember that lol, I’m always amazed by CLI focused people being able to remember so much!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1701178500 {#4758
      date: 2023-11-28 14:35:00.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@hanke@feddit.nu"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4761 …}
    +nested: Doctrine\ORM\PersistentCollection {#4763 …}
    +votes: Doctrine\ORM\PersistentCollection {#4765 …}
    +reports: Doctrine\ORM\PersistentCollection {#4767 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4769 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4771 …}
    -id: 173686
    -bodyTs: "'abl':17 'alway':10 'amaz':11 'cli':13 'focus':14 'lol':7 'm':9 'much':21 'peopl':15 'rememb':5,19 'tf':2"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.blahaj.zone/comment/4672385"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701178500 {#4759
      date: 2023-11-28 14:35:00.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4380}
  +body: """
    Dude, I use the CLI *all day, every day* and I can’t freakin remember half the commands I need.\n
    \n
    If it’s something I use often, I’ll make an alias even if it’s just so I can run ‘alias’ in the terminal to get a list of things I use often.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701197351 {#4904
    date: 2023-11-28 19:49:11.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@hanke@feddit.nu"
    "@MangoPenguin@lemmy.blahaj.zone"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4907 …}
  +nested: Doctrine\ORM\PersistentCollection {#4909 …}
  +votes: Doctrine\ORM\PersistentCollection {#4911 …}
  +reports: Doctrine\ORM\PersistentCollection {#4913 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4915 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4917 …}
  -id: 174433
  -bodyTs: "'alia':32,42 'cli':5 'command':18 'day':7,9 'dude':1 'even':33 'everi':8 'freakin':14 'get':47 'half':16 'list':49 'll':29 'make':30 'need':20 'often':27,54 'rememb':15 'run':41 'someth':24 'termin':45 'thing':51 'use':3,26,53"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4074807"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701197351 {#4905
    date: 2023-11-28 19:49: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
61 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
62 DENIED moderate
App\Entity\EntryComment {#4453
  +user: App\Entity\User {#4466 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4448
    date: 2023-11-28 10:29:11.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4454 …}
  +nested: Doctrine\ORM\PersistentCollection {#4456 …}
  +votes: Doctrine\ORM\PersistentCollection {#4458 …}
  +reports: Doctrine\ORM\PersistentCollection {#4460 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4462 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4464 …}
  -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 {#4449
    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
63 DENIED edit
App\Entity\EntryComment {#4453
  +user: App\Entity\User {#4466 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4448
    date: 2023-11-28 10:29:11.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4454 …}
  +nested: Doctrine\ORM\PersistentCollection {#4456 …}
  +votes: Doctrine\ORM\PersistentCollection {#4458 …}
  +reports: Doctrine\ORM\PersistentCollection {#4460 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4462 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4464 …}
  -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 {#4449
    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
64 DENIED moderate
App\Entity\EntryComment {#4453
  +user: App\Entity\User {#4466 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4448
    date: 2023-11-28 10:29:11.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4454 …}
  +nested: Doctrine\ORM\PersistentCollection {#4456 …}
  +votes: Doctrine\ORM\PersistentCollection {#4458 …}
  +reports: Doctrine\ORM\PersistentCollection {#4460 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4462 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4464 …}
  -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 {#4449
    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
65 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
66 DENIED moderate
App\Entity\EntryComment {#4526
  +user: App\Entity\User {#4539 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4521
    date: 2023-12-07 05:28:36.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4527 …}
  +nested: Doctrine\ORM\PersistentCollection {#4529 …}
  +votes: Doctrine\ORM\PersistentCollection {#4531 …}
  +reports: Doctrine\ORM\PersistentCollection {#4533 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4535 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4537 …}
  -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 {#4522
    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
67 DENIED edit
App\Entity\EntryComment {#4526
  +user: App\Entity\User {#4539 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4521
    date: 2023-12-07 05:28:36.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4527 …}
  +nested: Doctrine\ORM\PersistentCollection {#4529 …}
  +votes: Doctrine\ORM\PersistentCollection {#4531 …}
  +reports: Doctrine\ORM\PersistentCollection {#4533 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4535 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4537 …}
  -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 {#4522
    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
68 DENIED moderate
App\Entity\EntryComment {#4526
  +user: App\Entity\User {#4539 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4521
    date: 2023-12-07 05:28:36.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4527 …}
  +nested: Doctrine\ORM\PersistentCollection {#4529 …}
  +votes: Doctrine\ORM\PersistentCollection {#4531 …}
  +reports: Doctrine\ORM\PersistentCollection {#4533 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4535 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4537 …}
  -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 {#4522
    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
69 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
70 DENIED moderate
App\Entity\EntryComment {#4729
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4526
    +user: App\Entity\User {#4539 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +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 {#4521
      date: 2023-12-07 05:28:36.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4527 …}
    +nested: Doctrine\ORM\PersistentCollection {#4529 …}
    +votes: Doctrine\ORM\PersistentCollection {#4531 …}
    +reports: Doctrine\ORM\PersistentCollection {#4533 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4535 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4537 …}
    -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 {#4522
      date: 2023-11-28 09:35:12.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4526}
  +body: "Is there a way to do this without cd-ing to the directory with the compose file first?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701161497 {#4727
    date: 2023-11-28 09:51:37.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@this_is_router@feddit.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4730 …}
  +nested: Doctrine\ORM\PersistentCollection {#4732 …}
  +votes: Doctrine\ORM\PersistentCollection {#4734 …}
  +reports: Doctrine\ORM\PersistentCollection {#4736 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4738 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4740 …}
  -id: 172951
  -bodyTs: "'cd':10 'cd-ing':9 'compos':17 'directori':14 'file':18 'first':19 'ing':11 'way':4 'without':8"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4065664"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701161497 {#4728
    date: 2023-11-28 09:51:37.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
71 DENIED edit
App\Entity\EntryComment {#4729
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4526
    +user: App\Entity\User {#4539 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +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 {#4521
      date: 2023-12-07 05:28:36.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4527 …}
    +nested: Doctrine\ORM\PersistentCollection {#4529 …}
    +votes: Doctrine\ORM\PersistentCollection {#4531 …}
    +reports: Doctrine\ORM\PersistentCollection {#4533 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4535 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4537 …}
    -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 {#4522
      date: 2023-11-28 09:35:12.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4526}
  +body: "Is there a way to do this without cd-ing to the directory with the compose file first?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701161497 {#4727
    date: 2023-11-28 09:51:37.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@this_is_router@feddit.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4730 …}
  +nested: Doctrine\ORM\PersistentCollection {#4732 …}
  +votes: Doctrine\ORM\PersistentCollection {#4734 …}
  +reports: Doctrine\ORM\PersistentCollection {#4736 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4738 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4740 …}
  -id: 172951
  -bodyTs: "'cd':10 'cd-ing':9 'compos':17 'directori':14 'file':18 'first':19 'ing':11 'way':4 'without':8"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4065664"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701161497 {#4728
    date: 2023-11-28 09:51:37.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
72 DENIED moderate
App\Entity\EntryComment {#4729
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4526
    +user: App\Entity\User {#4539 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +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 {#4521
      date: 2023-12-07 05:28:36.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4527 …}
    +nested: Doctrine\ORM\PersistentCollection {#4529 …}
    +votes: Doctrine\ORM\PersistentCollection {#4531 …}
    +reports: Doctrine\ORM\PersistentCollection {#4533 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4535 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4537 …}
    -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 {#4522
      date: 2023-11-28 09:35:12.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4526}
  +body: "Is there a way to do this without cd-ing to the directory with the compose file first?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701161497 {#4727
    date: 2023-11-28 09:51:37.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@this_is_router@feddit.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4730 …}
  +nested: Doctrine\ORM\PersistentCollection {#4732 …}
  +votes: Doctrine\ORM\PersistentCollection {#4734 …}
  +reports: Doctrine\ORM\PersistentCollection {#4736 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4738 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4740 …}
  -id: 172951
  -bodyTs: "'cd':10 'cd-ing':9 'compos':17 'directori':14 'file':18 'first':19 'ing':11 'way':4 'without':8"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4065664"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701161497 {#4728
    date: 2023-11-28 09:51:37.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
73 DENIED 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
74 DENIED moderate
App\Entity\EntryComment {#4843
  +user: Proxies\__CG__\App\Entity\User {#4844 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4729
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4526
      +user: App\Entity\User {#4539 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4521
        date: 2023-12-07 05:28:36.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4527 …}
      +nested: Doctrine\ORM\PersistentCollection {#4529 …}
      +votes: Doctrine\ORM\PersistentCollection {#4531 …}
      +reports: Doctrine\ORM\PersistentCollection {#4533 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4535 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4537 …}
      -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 {#4522
        date: 2023-11-28 09:35:12.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4526}
    +body: "Is there a way to do this without cd-ing to the directory with the compose file first?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1701161497 {#4727
      date: 2023-11-28 09:51:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@this_is_router@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4730 …}
    +nested: Doctrine\ORM\PersistentCollection {#4732 …}
    +votes: Doctrine\ORM\PersistentCollection {#4734 …}
    +reports: Doctrine\ORM\PersistentCollection {#4736 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4738 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4740 …}
    -id: 172951
    -bodyTs: "'cd':10 'cd-ing':9 'compos':17 'directori':14 'file':18 'first':19 'ing':11 'way':4 'without':8"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4065664"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701161497 {#4728
      date: 2023-11-28 09:51:37.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4526}
  +body: "You can use -f /path/to/compose.yaml to call it from wherever you like."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 3
  +score: 0
  +lastActive: DateTime @1701161874 {#4841
    date: 2023-11-28 09:57:54.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@this_is_router@feddit.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4845 …}
  +nested: Doctrine\ORM\PersistentCollection {#4847 …}
  +votes: Doctrine\ORM\PersistentCollection {#4849 …}
  +reports: Doctrine\ORM\PersistentCollection {#4851 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4853 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4855 …}
  -id: 172971
  -bodyTs: "'/path/to/compose.yaml':5 'call':7 'f':4 'like':12 'use':3 'wherev':10"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.de/comment/5218903"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701161874 {#4842
    date: 2023-11-28 09:57:54.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
75 DENIED edit
App\Entity\EntryComment {#4843
  +user: Proxies\__CG__\App\Entity\User {#4844 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4729
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4526
      +user: App\Entity\User {#4539 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4521
        date: 2023-12-07 05:28:36.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4527 …}
      +nested: Doctrine\ORM\PersistentCollection {#4529 …}
      +votes: Doctrine\ORM\PersistentCollection {#4531 …}
      +reports: Doctrine\ORM\PersistentCollection {#4533 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4535 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4537 …}
      -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 {#4522
        date: 2023-11-28 09:35:12.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4526}
    +body: "Is there a way to do this without cd-ing to the directory with the compose file first?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1701161497 {#4727
      date: 2023-11-28 09:51:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@this_is_router@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4730 …}
    +nested: Doctrine\ORM\PersistentCollection {#4732 …}
    +votes: Doctrine\ORM\PersistentCollection {#4734 …}
    +reports: Doctrine\ORM\PersistentCollection {#4736 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4738 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4740 …}
    -id: 172951
    -bodyTs: "'cd':10 'cd-ing':9 'compos':17 'directori':14 'file':18 'first':19 'ing':11 'way':4 'without':8"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4065664"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701161497 {#4728
      date: 2023-11-28 09:51:37.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4526}
  +body: "You can use -f /path/to/compose.yaml to call it from wherever you like."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 3
  +score: 0
  +lastActive: DateTime @1701161874 {#4841
    date: 2023-11-28 09:57:54.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@this_is_router@feddit.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4845 …}
  +nested: Doctrine\ORM\PersistentCollection {#4847 …}
  +votes: Doctrine\ORM\PersistentCollection {#4849 …}
  +reports: Doctrine\ORM\PersistentCollection {#4851 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4853 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4855 …}
  -id: 172971
  -bodyTs: "'/path/to/compose.yaml':5 'call':7 'f':4 'like':12 'use':3 'wherev':10"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.de/comment/5218903"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701161874 {#4842
    date: 2023-11-28 09:57:54.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
76 DENIED moderate
App\Entity\EntryComment {#4843
  +user: Proxies\__CG__\App\Entity\User {#4844 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4729
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4526
      +user: App\Entity\User {#4539 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4521
        date: 2023-12-07 05:28:36.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4527 …}
      +nested: Doctrine\ORM\PersistentCollection {#4529 …}
      +votes: Doctrine\ORM\PersistentCollection {#4531 …}
      +reports: Doctrine\ORM\PersistentCollection {#4533 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4535 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4537 …}
      -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 {#4522
        date: 2023-11-28 09:35:12.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4526}
    +body: "Is there a way to do this without cd-ing to the directory with the compose file first?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1701161497 {#4727
      date: 2023-11-28 09:51:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@this_is_router@feddit.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4730 …}
    +nested: Doctrine\ORM\PersistentCollection {#4732 …}
    +votes: Doctrine\ORM\PersistentCollection {#4734 …}
    +reports: Doctrine\ORM\PersistentCollection {#4736 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4738 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4740 …}
    -id: 172951
    -bodyTs: "'cd':10 'cd-ing':9 'compos':17 'directori':14 'file':18 'first':19 'ing':11 'way':4 'without':8"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4065664"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701161497 {#4728
      date: 2023-11-28 09:51:37.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4526}
  +body: "You can use -f /path/to/compose.yaml to call it from wherever you like."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 3
  +score: 0
  +lastActive: DateTime @1701161874 {#4841
    date: 2023-11-28 09:57:54.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@this_is_router@feddit.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4845 …}
  +nested: Doctrine\ORM\PersistentCollection {#4847 …}
  +votes: Doctrine\ORM\PersistentCollection {#4849 …}
  +reports: Doctrine\ORM\PersistentCollection {#4851 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4853 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4855 …}
  -id: 172971
  -bodyTs: "'/path/to/compose.yaml':5 'call':7 'f':4 'like':12 'use':3 'wherev':10"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.de/comment/5218903"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701161874 {#4842
    date: 2023-11-28 09:57:54.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
77 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
78 DENIED moderate
App\Entity\EntryComment {#4600
  +user: App\Entity\User {#4613 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4595
    date: 2023-12-08 09:47:53.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4601 …}
  +nested: Doctrine\ORM\PersistentCollection {#4603 …}
  +votes: Doctrine\ORM\PersistentCollection {#4605 …}
  +reports: Doctrine\ORM\PersistentCollection {#4607 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4609 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4611 …}
  -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 {#4596
    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
79 DENIED edit
App\Entity\EntryComment {#4600
  +user: App\Entity\User {#4613 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4595
    date: 2023-12-08 09:47:53.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4601 …}
  +nested: Doctrine\ORM\PersistentCollection {#4603 …}
  +votes: Doctrine\ORM\PersistentCollection {#4605 …}
  +reports: Doctrine\ORM\PersistentCollection {#4607 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4609 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4611 …}
  -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 {#4596
    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
80 DENIED moderate
App\Entity\EntryComment {#4600
  +user: App\Entity\User {#4613 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4595
    date: 2023-12-08 09:47:53.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4601 …}
  +nested: Doctrine\ORM\PersistentCollection {#4603 …}
  +votes: Doctrine\ORM\PersistentCollection {#4605 …}
  +reports: Doctrine\ORM\PersistentCollection {#4607 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4609 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4611 …}
  -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 {#4596
    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
81 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
82 DENIED moderate
App\Entity\EntryComment {#4692
  +user: Proxies\__CG__\App\Entity\User {#4698 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4600
    +user: App\Entity\User {#4613 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +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 {#4595
      date: 2023-12-08 09:47:53.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4601 …}
    +nested: Doctrine\ORM\PersistentCollection {#4603 …}
    +votes: Doctrine\ORM\PersistentCollection {#4605 …}
    +reports: Doctrine\ORM\PersistentCollection {#4607 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4609 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4611 …}
    -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 {#4596
      date: 2023-11-28 09:29:51.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4600}
  +body: "I use Compose even when I have a single container to run because I can put all the config bits I need into a file and can then do most of the work without remembering lots of command line options and often without even needing to mention the service name directly."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 13
  +score: 0
  +lastActive: DateTime @1701161642 {#4691
    date: 2023-11-28 09:54:02.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@RagingToad@feddit.nl"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4699 …}
  +nested: Doctrine\ORM\PersistentCollection {#4701 …}
  +votes: Doctrine\ORM\PersistentCollection {#4703 …}
  +reports: Doctrine\ORM\PersistentCollection {#4706 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4708 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4710 …}
  -id: 172957
  -bodyTs: "'bit':20 'command':38 'compos':3 'config':19 'contain':10 'direct':51 'even':4,44 'file':25 'line':39 'lot':36 'mention':47 'name':50 'need':22,45 'often':42 'option':40 'put':16 'rememb':35 'run':12 'servic':49 'singl':9 'use':2 'without':34,43 'work':33"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5642377"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701161642 {#4694
    date: 2023-11-28 09:54: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
83 DENIED edit
App\Entity\EntryComment {#4692
  +user: Proxies\__CG__\App\Entity\User {#4698 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4600
    +user: App\Entity\User {#4613 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +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 {#4595
      date: 2023-12-08 09:47:53.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4601 …}
    +nested: Doctrine\ORM\PersistentCollection {#4603 …}
    +votes: Doctrine\ORM\PersistentCollection {#4605 …}
    +reports: Doctrine\ORM\PersistentCollection {#4607 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4609 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4611 …}
    -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 {#4596
      date: 2023-11-28 09:29:51.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4600}
  +body: "I use Compose even when I have a single container to run because I can put all the config bits I need into a file and can then do most of the work without remembering lots of command line options and often without even needing to mention the service name directly."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 13
  +score: 0
  +lastActive: DateTime @1701161642 {#4691
    date: 2023-11-28 09:54:02.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@RagingToad@feddit.nl"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4699 …}
  +nested: Doctrine\ORM\PersistentCollection {#4701 …}
  +votes: Doctrine\ORM\PersistentCollection {#4703 …}
  +reports: Doctrine\ORM\PersistentCollection {#4706 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4708 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4710 …}
  -id: 172957
  -bodyTs: "'bit':20 'command':38 'compos':3 'config':19 'contain':10 'direct':51 'even':4,44 'file':25 'line':39 'lot':36 'mention':47 'name':50 'need':22,45 'often':42 'option':40 'put':16 'rememb':35 'run':12 'servic':49 'singl':9 'use':2 'without':34,43 'work':33"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5642377"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701161642 {#4694
    date: 2023-11-28 09:54: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
84 DENIED moderate
App\Entity\EntryComment {#4692
  +user: Proxies\__CG__\App\Entity\User {#4698 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4600
    +user: App\Entity\User {#4613 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +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 {#4595
      date: 2023-12-08 09:47:53.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4601 …}
    +nested: Doctrine\ORM\PersistentCollection {#4603 …}
    +votes: Doctrine\ORM\PersistentCollection {#4605 …}
    +reports: Doctrine\ORM\PersistentCollection {#4607 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4609 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4611 …}
    -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 {#4596
      date: 2023-11-28 09:29:51.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4600}
  +body: "I use Compose even when I have a single container to run because I can put all the config bits I need into a file and can then do most of the work without remembering lots of command line options and often without even needing to mention the service name directly."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 13
  +score: 0
  +lastActive: DateTime @1701161642 {#4691
    date: 2023-11-28 09:54:02.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@RagingToad@feddit.nl"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4699 …}
  +nested: Doctrine\ORM\PersistentCollection {#4701 …}
  +votes: Doctrine\ORM\PersistentCollection {#4703 …}
  +reports: Doctrine\ORM\PersistentCollection {#4706 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4708 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4710 …}
  -id: 172957
  -bodyTs: "'bit':20 'command':38 'compos':3 'config':19 'contain':10 'direct':51 'even':4,44 'file':25 'line':39 'lot':36 'mention':47 'name':50 'need':22,45 'often':42 'option':40 'put':16 'rememb':35 'run':12 'servic':49 'singl':9 'use':2 'without':34,43 'work':33"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5642377"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701161642 {#4694
    date: 2023-11-28 09:54: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
85 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
86 DENIED moderate
App\Entity\EntryComment {#4859
  +user: Proxies\__CG__\App\Entity\User {#4860 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4692
    +user: Proxies\__CG__\App\Entity\User {#4698 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4600
      +user: App\Entity\User {#4613 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4595
        date: 2023-12-08 09:47:53.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4601 …}
      +nested: Doctrine\ORM\PersistentCollection {#4603 …}
      +votes: Doctrine\ORM\PersistentCollection {#4605 …}
      +reports: Doctrine\ORM\PersistentCollection {#4607 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4609 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4611 …}
      -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 {#4596
        date: 2023-11-28 09:29:51.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4600}
    +body: "I use Compose even when I have a single container to run because I can put all the config bits I need into a file and can then do most of the work without remembering lots of command line options and often without even needing to mention the service name directly."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 13
    +score: 0
    +lastActive: DateTime @1701161642 {#4691
      date: 2023-11-28 09:54:02.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@RagingToad@feddit.nl"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4699 …}
    +nested: Doctrine\ORM\PersistentCollection {#4701 …}
    +votes: Doctrine\ORM\PersistentCollection {#4703 …}
    +reports: Doctrine\ORM\PersistentCollection {#4706 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4708 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4710 …}
    -id: 172957
    -bodyTs: "'bit':20 'command':38 'compos':3 'config':19 'contain':10 'direct':51 'even':4,44 'file':25 'line':39 'lot':36 'mention':47 'name':50 'need':22,45 'often':42 'option':40 'put':16 'rememb':35 'run':12 'servic':49 'singl':9 'use':2 'without':34,43 'work':33"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5642377"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701161642 {#4694
      date: 2023-11-28 09:54:02.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4600}
  +body: "Same. I can’t remember the last time I started a docker container without a compose file."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1701172262 {#4857
    date: 2023-11-28 12:51:02.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@RagingToad@feddit.nl"
    "@wcooley@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4861 …}
  +nested: Doctrine\ORM\PersistentCollection {#4863 …}
  +votes: Doctrine\ORM\PersistentCollection {#4865 …}
  +reports: Doctrine\ORM\PersistentCollection {#4867 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4869 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4871 …}
  -id: 173261
  -bodyTs: "'compos':16 'contain':13 'docker':12 'file':17 'last':7 'rememb':5 'start':10 'time':8 'without':14"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5644201"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701172262 {#4858
    date: 2023-11-28 12:51: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
87 DENIED edit
App\Entity\EntryComment {#4859
  +user: Proxies\__CG__\App\Entity\User {#4860 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4692
    +user: Proxies\__CG__\App\Entity\User {#4698 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4600
      +user: App\Entity\User {#4613 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4595
        date: 2023-12-08 09:47:53.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4601 …}
      +nested: Doctrine\ORM\PersistentCollection {#4603 …}
      +votes: Doctrine\ORM\PersistentCollection {#4605 …}
      +reports: Doctrine\ORM\PersistentCollection {#4607 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4609 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4611 …}
      -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 {#4596
        date: 2023-11-28 09:29:51.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4600}
    +body: "I use Compose even when I have a single container to run because I can put all the config bits I need into a file and can then do most of the work without remembering lots of command line options and often without even needing to mention the service name directly."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 13
    +score: 0
    +lastActive: DateTime @1701161642 {#4691
      date: 2023-11-28 09:54:02.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@RagingToad@feddit.nl"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4699 …}
    +nested: Doctrine\ORM\PersistentCollection {#4701 …}
    +votes: Doctrine\ORM\PersistentCollection {#4703 …}
    +reports: Doctrine\ORM\PersistentCollection {#4706 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4708 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4710 …}
    -id: 172957
    -bodyTs: "'bit':20 'command':38 'compos':3 'config':19 'contain':10 'direct':51 'even':4,44 'file':25 'line':39 'lot':36 'mention':47 'name':50 'need':22,45 'often':42 'option':40 'put':16 'rememb':35 'run':12 'servic':49 'singl':9 'use':2 'without':34,43 'work':33"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5642377"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701161642 {#4694
      date: 2023-11-28 09:54:02.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4600}
  +body: "Same. I can’t remember the last time I started a docker container without a compose file."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1701172262 {#4857
    date: 2023-11-28 12:51:02.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@RagingToad@feddit.nl"
    "@wcooley@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4861 …}
  +nested: Doctrine\ORM\PersistentCollection {#4863 …}
  +votes: Doctrine\ORM\PersistentCollection {#4865 …}
  +reports: Doctrine\ORM\PersistentCollection {#4867 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4869 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4871 …}
  -id: 173261
  -bodyTs: "'compos':16 'contain':13 'docker':12 'file':17 'last':7 'rememb':5 'start':10 'time':8 'without':14"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5644201"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701172262 {#4858
    date: 2023-11-28 12:51: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
88 DENIED moderate
App\Entity\EntryComment {#4859
  +user: Proxies\__CG__\App\Entity\User {#4860 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4692
    +user: Proxies\__CG__\App\Entity\User {#4698 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4600
      +user: App\Entity\User {#4613 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4595
        date: 2023-12-08 09:47:53.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4601 …}
      +nested: Doctrine\ORM\PersistentCollection {#4603 …}
      +votes: Doctrine\ORM\PersistentCollection {#4605 …}
      +reports: Doctrine\ORM\PersistentCollection {#4607 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4609 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4611 …}
      -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 {#4596
        date: 2023-11-28 09:29:51.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4600}
    +body: "I use Compose even when I have a single container to run because I can put all the config bits I need into a file and can then do most of the work without remembering lots of command line options and often without even needing to mention the service name directly."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 13
    +score: 0
    +lastActive: DateTime @1701161642 {#4691
      date: 2023-11-28 09:54:02.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@RagingToad@feddit.nl"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4699 …}
    +nested: Doctrine\ORM\PersistentCollection {#4701 …}
    +votes: Doctrine\ORM\PersistentCollection {#4703 …}
    +reports: Doctrine\ORM\PersistentCollection {#4706 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4708 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4710 …}
    -id: 172957
    -bodyTs: "'bit':20 'command':38 'compos':3 'config':19 'contain':10 'direct':51 'even':4,44 'file':25 'line':39 'lot':36 'mention':47 'name':50 'need':22,45 'often':42 'option':40 'put':16 'rememb':35 'run':12 'servic':49 'singl':9 'use':2 'without':34,43 'work':33"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5642377"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701161642 {#4694
      date: 2023-11-28 09:54:02.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4600}
  +body: "Same. I can’t remember the last time I started a docker container without a compose file."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1701172262 {#4857
    date: 2023-11-28 12:51:02.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@RagingToad@feddit.nl"
    "@wcooley@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4861 …}
  +nested: Doctrine\ORM\PersistentCollection {#4863 …}
  +votes: Doctrine\ORM\PersistentCollection {#4865 …}
  +reports: Doctrine\ORM\PersistentCollection {#4867 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4869 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4871 …}
  -id: 173261
  -bodyTs: "'compos':16 'contain':13 'docker':12 'file':17 'last':7 'rememb':5 'start':10 'time':8 'without':14"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5644201"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701172262 {#4858
    date: 2023-11-28 12:51: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
89 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
90 DENIED moderate
App\Entity\EntryComment {#4875
  +user: Proxies\__CG__\App\Entity\User {#4876 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4692
    +user: Proxies\__CG__\App\Entity\User {#4698 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4600
      +user: App\Entity\User {#4613 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4595
        date: 2023-12-08 09:47:53.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4601 …}
      +nested: Doctrine\ORM\PersistentCollection {#4603 …}
      +votes: Doctrine\ORM\PersistentCollection {#4605 …}
      +reports: Doctrine\ORM\PersistentCollection {#4607 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4609 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4611 …}
      -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 {#4596
        date: 2023-11-28 09:29:51.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4600}
    +body: "I use Compose even when I have a single container to run because I can put all the config bits I need into a file and can then do most of the work without remembering lots of command line options and often without even needing to mention the service name directly."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 13
    +score: 0
    +lastActive: DateTime @1701161642 {#4691
      date: 2023-11-28 09:54:02.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@RagingToad@feddit.nl"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4699 …}
    +nested: Doctrine\ORM\PersistentCollection {#4701 …}
    +votes: Doctrine\ORM\PersistentCollection {#4703 …}
    +reports: Doctrine\ORM\PersistentCollection {#4706 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4708 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4710 …}
    -id: 172957
    -bodyTs: "'bit':20 'command':38 'compos':3 'config':19 'contain':10 'direct':51 'even':4,44 'file':25 'line':39 'lot':36 'mention':47 'name':50 'need':22,45 'often':42 'option':40 'put':16 'rememb':35 'run':12 'servic':49 'singl':9 'use':2 'without':34,43 'work':33"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5642377"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701161642 {#4694
      date: 2023-11-28 09:54:02.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4600}
  +body: """
    I keep a docker directory in my home dir that has a directory for each docker container/stack in a compose file. Taking down a container looks like so.\n
    \n
    - cd docker/wallabag\n
    - docker-compose down\n
    \n
    Imo, the best way to work with docker.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1701186859 {#4873
    date: 2023-11-28 16:54:19.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@RagingToad@feddit.nl"
    "@wcooley@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4877 …}
  +nested: Doctrine\ORM\PersistentCollection {#4879 …}
  +votes: Doctrine\ORM\PersistentCollection {#4881 …}
  +reports: Doctrine\ORM\PersistentCollection {#4883 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4885 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4887 …}
  -id: 173915
  -bodyTs: "'best':37 'cd':29 'compos':20,33 'contain':25 'container/stack':17 'dir':9 'directori':5,13 'docker':4,16,32,42 'docker-compos':31 'docker/wallabag':30 'file':21 'home':8 'imo':35 'keep':2 'like':27 'look':26 'take':22 'way':38 'work':40"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemm.ee/comment/6698283"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701186859 {#4874
    date: 2023-11-28 16:54:19.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
91 DENIED edit
App\Entity\EntryComment {#4875
  +user: Proxies\__CG__\App\Entity\User {#4876 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4692
    +user: Proxies\__CG__\App\Entity\User {#4698 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4600
      +user: App\Entity\User {#4613 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4595
        date: 2023-12-08 09:47:53.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4601 …}
      +nested: Doctrine\ORM\PersistentCollection {#4603 …}
      +votes: Doctrine\ORM\PersistentCollection {#4605 …}
      +reports: Doctrine\ORM\PersistentCollection {#4607 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4609 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4611 …}
      -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 {#4596
        date: 2023-11-28 09:29:51.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4600}
    +body: "I use Compose even when I have a single container to run because I can put all the config bits I need into a file and can then do most of the work without remembering lots of command line options and often without even needing to mention the service name directly."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 13
    +score: 0
    +lastActive: DateTime @1701161642 {#4691
      date: 2023-11-28 09:54:02.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@RagingToad@feddit.nl"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4699 …}
    +nested: Doctrine\ORM\PersistentCollection {#4701 …}
    +votes: Doctrine\ORM\PersistentCollection {#4703 …}
    +reports: Doctrine\ORM\PersistentCollection {#4706 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4708 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4710 …}
    -id: 172957
    -bodyTs: "'bit':20 'command':38 'compos':3 'config':19 'contain':10 'direct':51 'even':4,44 'file':25 'line':39 'lot':36 'mention':47 'name':50 'need':22,45 'often':42 'option':40 'put':16 'rememb':35 'run':12 'servic':49 'singl':9 'use':2 'without':34,43 'work':33"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5642377"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701161642 {#4694
      date: 2023-11-28 09:54:02.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4600}
  +body: """
    I keep a docker directory in my home dir that has a directory for each docker container/stack in a compose file. Taking down a container looks like so.\n
    \n
    - cd docker/wallabag\n
    - docker-compose down\n
    \n
    Imo, the best way to work with docker.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1701186859 {#4873
    date: 2023-11-28 16:54:19.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@RagingToad@feddit.nl"
    "@wcooley@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4877 …}
  +nested: Doctrine\ORM\PersistentCollection {#4879 …}
  +votes: Doctrine\ORM\PersistentCollection {#4881 …}
  +reports: Doctrine\ORM\PersistentCollection {#4883 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4885 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4887 …}
  -id: 173915
  -bodyTs: "'best':37 'cd':29 'compos':20,33 'contain':25 'container/stack':17 'dir':9 'directori':5,13 'docker':4,16,32,42 'docker-compos':31 'docker/wallabag':30 'file':21 'home':8 'imo':35 'keep':2 'like':27 'look':26 'take':22 'way':38 'work':40"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemm.ee/comment/6698283"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701186859 {#4874
    date: 2023-11-28 16:54:19.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
92 DENIED moderate
App\Entity\EntryComment {#4875
  +user: Proxies\__CG__\App\Entity\User {#4876 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4692
    +user: Proxies\__CG__\App\Entity\User {#4698 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4600
      +user: App\Entity\User {#4613 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4595
        date: 2023-12-08 09:47:53.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4601 …}
      +nested: Doctrine\ORM\PersistentCollection {#4603 …}
      +votes: Doctrine\ORM\PersistentCollection {#4605 …}
      +reports: Doctrine\ORM\PersistentCollection {#4607 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4609 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4611 …}
      -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 {#4596
        date: 2023-11-28 09:29:51.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4600}
    +body: "I use Compose even when I have a single container to run because I can put all the config bits I need into a file and can then do most of the work without remembering lots of command line options and often without even needing to mention the service name directly."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 13
    +score: 0
    +lastActive: DateTime @1701161642 {#4691
      date: 2023-11-28 09:54:02.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@RagingToad@feddit.nl"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4699 …}
    +nested: Doctrine\ORM\PersistentCollection {#4701 …}
    +votes: Doctrine\ORM\PersistentCollection {#4703 …}
    +reports: Doctrine\ORM\PersistentCollection {#4706 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4708 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4710 …}
    -id: 172957
    -bodyTs: "'bit':20 'command':38 'compos':3 'config':19 'contain':10 'direct':51 'even':4,44 'file':25 'line':39 'lot':36 'mention':47 'name':50 'need':22,45 'often':42 'option':40 'put':16 'rememb':35 'run':12 'servic':49 'singl':9 'use':2 'without':34,43 'work':33"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5642377"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701161642 {#4694
      date: 2023-11-28 09:54:02.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4600}
  +body: """
    I keep a docker directory in my home dir that has a directory for each docker container/stack in a compose file. Taking down a container looks like so.\n
    \n
    - cd docker/wallabag\n
    - docker-compose down\n
    \n
    Imo, the best way to work with docker.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1701186859 {#4873
    date: 2023-11-28 16:54:19.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@RagingToad@feddit.nl"
    "@wcooley@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4877 …}
  +nested: Doctrine\ORM\PersistentCollection {#4879 …}
  +votes: Doctrine\ORM\PersistentCollection {#4881 …}
  +reports: Doctrine\ORM\PersistentCollection {#4883 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4885 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4887 …}
  -id: 173915
  -bodyTs: "'best':37 'cd':29 'compos':20,33 'contain':25 'container/stack':17 'dir':9 'directori':5,13 'docker':4,16,32,42 'docker-compos':31 'docker/wallabag':30 'file':21 'home':8 'imo':35 'keep':2 'like':27 'look':26 'take':22 'way':38 'work':40"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemm.ee/comment/6698283"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701186859 {#4874
    date: 2023-11-28 16:54:19.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
93 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
94 DENIED moderate
App\Entity\EntryComment {#4946
  +user: Proxies\__CG__\App\Entity\User {#4941 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4875
    +user: Proxies\__CG__\App\Entity\User {#4876 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4692
      +user: Proxies\__CG__\App\Entity\User {#4698 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4600
        +user: App\Entity\User {#4613 …}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +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 {#4595
          date: 2023-12-08 09:47:53.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@luthis@lemmy.nz"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4601 …}
        +nested: Doctrine\ORM\PersistentCollection {#4603 …}
        +votes: Doctrine\ORM\PersistentCollection {#4605 …}
        +reports: Doctrine\ORM\PersistentCollection {#4607 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4609 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4611 …}
        -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 {#4596
          date: 2023-11-28 09:29:51.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4600}
      +body: "I use Compose even when I have a single container to run because I can put all the config bits I need into a file and can then do most of the work without remembering lots of command line options and often without even needing to mention the service name directly."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 13
      +score: 0
      +lastActive: DateTime @1701161642 {#4691
        date: 2023-11-28 09:54:02.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
        "@RagingToad@feddit.nl"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4699 …}
      +nested: Doctrine\ORM\PersistentCollection {#4701 …}
      +votes: Doctrine\ORM\PersistentCollection {#4703 …}
      +reports: Doctrine\ORM\PersistentCollection {#4706 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4708 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4710 …}
      -id: 172957
      -bodyTs: "'bit':20 'command':38 'compos':3 'config':19 'contain':10 'direct':51 'even':4,44 'file':25 'line':39 'lot':36 'mention':47 'name':50 'need':22,45 'often':42 'option':40 'put':16 'rememb':35 'run':12 'servic':49 'singl':9 'use':2 'without':34,43 'work':33"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/5642377"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701161642 {#4694
        date: 2023-11-28 09:54:02.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4600}
    +body: """
      I keep a docker directory in my home dir that has a directory for each docker container/stack in a compose file. Taking down a container looks like so.\n
      \n
      - cd docker/wallabag\n
      - docker-compose down\n
      \n
      Imo, the best way to work with docker.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701186859 {#4873
      date: 2023-11-28 16:54:19.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@RagingToad@feddit.nl"
      "@wcooley@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4877 …}
    +nested: Doctrine\ORM\PersistentCollection {#4879 …}
    +votes: Doctrine\ORM\PersistentCollection {#4881 …}
    +reports: Doctrine\ORM\PersistentCollection {#4883 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4885 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4887 …}
    -id: 173915
    -bodyTs: "'best':37 'cd':29 'compos':20,33 'contain':25 'container/stack':17 'dir':9 'directori':5,13 'docker':4,16,32,42 'docker-compos':31 'docker/wallabag':30 'file':21 'home':8 'imo':35 'keep':2 'like':27 'look':26 'take':22 'way':38 'work':40"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemm.ee/comment/6698283"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701186859 {#4874
      date: 2023-11-28 16:54:19.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4600}
  +body: "i do the exact same"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701208188 {#4947
    date: 2023-11-28 22:49:48.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@RagingToad@feddit.nl"
    "@wcooley@lemmy.world"
    "@YIj54yALOJxEsY20eU@lemm.ee"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4936 …}
  +nested: Doctrine\ORM\PersistentCollection {#4940 …}
  +votes: Doctrine\ORM\PersistentCollection {#4938 …}
  +reports: Doctrine\ORM\PersistentCollection {#4951 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4953 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4955 …}
  -id: 175019
  -bodyTs: "'exact':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemm.ee/comment/6713841"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701208188 {#4944
    date: 2023-11-28 22:49:48.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
95 DENIED edit
App\Entity\EntryComment {#4946
  +user: Proxies\__CG__\App\Entity\User {#4941 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4875
    +user: Proxies\__CG__\App\Entity\User {#4876 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4692
      +user: Proxies\__CG__\App\Entity\User {#4698 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4600
        +user: App\Entity\User {#4613 …}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +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 {#4595
          date: 2023-12-08 09:47:53.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@luthis@lemmy.nz"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4601 …}
        +nested: Doctrine\ORM\PersistentCollection {#4603 …}
        +votes: Doctrine\ORM\PersistentCollection {#4605 …}
        +reports: Doctrine\ORM\PersistentCollection {#4607 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4609 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4611 …}
        -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 {#4596
          date: 2023-11-28 09:29:51.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4600}
      +body: "I use Compose even when I have a single container to run because I can put all the config bits I need into a file and can then do most of the work without remembering lots of command line options and often without even needing to mention the service name directly."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 13
      +score: 0
      +lastActive: DateTime @1701161642 {#4691
        date: 2023-11-28 09:54:02.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
        "@RagingToad@feddit.nl"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4699 …}
      +nested: Doctrine\ORM\PersistentCollection {#4701 …}
      +votes: Doctrine\ORM\PersistentCollection {#4703 …}
      +reports: Doctrine\ORM\PersistentCollection {#4706 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4708 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4710 …}
      -id: 172957
      -bodyTs: "'bit':20 'command':38 'compos':3 'config':19 'contain':10 'direct':51 'even':4,44 'file':25 'line':39 'lot':36 'mention':47 'name':50 'need':22,45 'often':42 'option':40 'put':16 'rememb':35 'run':12 'servic':49 'singl':9 'use':2 'without':34,43 'work':33"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/5642377"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701161642 {#4694
        date: 2023-11-28 09:54:02.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4600}
    +body: """
      I keep a docker directory in my home dir that has a directory for each docker container/stack in a compose file. Taking down a container looks like so.\n
      \n
      - cd docker/wallabag\n
      - docker-compose down\n
      \n
      Imo, the best way to work with docker.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701186859 {#4873
      date: 2023-11-28 16:54:19.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@RagingToad@feddit.nl"
      "@wcooley@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4877 …}
    +nested: Doctrine\ORM\PersistentCollection {#4879 …}
    +votes: Doctrine\ORM\PersistentCollection {#4881 …}
    +reports: Doctrine\ORM\PersistentCollection {#4883 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4885 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4887 …}
    -id: 173915
    -bodyTs: "'best':37 'cd':29 'compos':20,33 'contain':25 'container/stack':17 'dir':9 'directori':5,13 'docker':4,16,32,42 'docker-compos':31 'docker/wallabag':30 'file':21 'home':8 'imo':35 'keep':2 'like':27 'look':26 'take':22 'way':38 'work':40"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemm.ee/comment/6698283"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701186859 {#4874
      date: 2023-11-28 16:54:19.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4600}
  +body: "i do the exact same"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701208188 {#4947
    date: 2023-11-28 22:49:48.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@RagingToad@feddit.nl"
    "@wcooley@lemmy.world"
    "@YIj54yALOJxEsY20eU@lemm.ee"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4936 …}
  +nested: Doctrine\ORM\PersistentCollection {#4940 …}
  +votes: Doctrine\ORM\PersistentCollection {#4938 …}
  +reports: Doctrine\ORM\PersistentCollection {#4951 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4953 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4955 …}
  -id: 175019
  -bodyTs: "'exact':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemm.ee/comment/6713841"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701208188 {#4944
    date: 2023-11-28 22:49:48.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
96 DENIED moderate
App\Entity\EntryComment {#4946
  +user: Proxies\__CG__\App\Entity\User {#4941 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4875
    +user: Proxies\__CG__\App\Entity\User {#4876 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4692
      +user: Proxies\__CG__\App\Entity\User {#4698 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4600
        +user: App\Entity\User {#4613 …}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +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 {#4595
          date: 2023-12-08 09:47:53.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@luthis@lemmy.nz"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4601 …}
        +nested: Doctrine\ORM\PersistentCollection {#4603 …}
        +votes: Doctrine\ORM\PersistentCollection {#4605 …}
        +reports: Doctrine\ORM\PersistentCollection {#4607 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4609 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4611 …}
        -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 {#4596
          date: 2023-11-28 09:29:51.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4600}
      +body: "I use Compose even when I have a single container to run because I can put all the config bits I need into a file and can then do most of the work without remembering lots of command line options and often without even needing to mention the service name directly."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 13
      +score: 0
      +lastActive: DateTime @1701161642 {#4691
        date: 2023-11-28 09:54:02.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
        "@RagingToad@feddit.nl"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4699 …}
      +nested: Doctrine\ORM\PersistentCollection {#4701 …}
      +votes: Doctrine\ORM\PersistentCollection {#4703 …}
      +reports: Doctrine\ORM\PersistentCollection {#4706 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4708 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4710 …}
      -id: 172957
      -bodyTs: "'bit':20 'command':38 'compos':3 'config':19 'contain':10 'direct':51 'even':4,44 'file':25 'line':39 'lot':36 'mention':47 'name':50 'need':22,45 'often':42 'option':40 'put':16 'rememb':35 'run':12 'servic':49 'singl':9 'use':2 'without':34,43 'work':33"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/5642377"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701161642 {#4694
        date: 2023-11-28 09:54:02.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4600}
    +body: """
      I keep a docker directory in my home dir that has a directory for each docker container/stack in a compose file. Taking down a container looks like so.\n
      \n
      - cd docker/wallabag\n
      - docker-compose down\n
      \n
      Imo, the best way to work with docker.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1701186859 {#4873
      date: 2023-11-28 16:54:19.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@RagingToad@feddit.nl"
      "@wcooley@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4877 …}
    +nested: Doctrine\ORM\PersistentCollection {#4879 …}
    +votes: Doctrine\ORM\PersistentCollection {#4881 …}
    +reports: Doctrine\ORM\PersistentCollection {#4883 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4885 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4887 …}
    -id: 173915
    -bodyTs: "'best':37 'cd':29 'compos':20,33 'contain':25 'container/stack':17 'dir':9 'directori':5,13 'docker':4,16,32,42 'docker-compos':31 'docker/wallabag':30 'file':21 'home':8 'imo':35 'keep':2 'like':27 'look':26 'take':22 'way':38 'work':40"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemm.ee/comment/6698283"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701186859 {#4874
      date: 2023-11-28 16:54:19.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4600}
  +body: "i do the exact same"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701208188 {#4947
    date: 2023-11-28 22:49:48.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@RagingToad@feddit.nl"
    "@wcooley@lemmy.world"
    "@YIj54yALOJxEsY20eU@lemm.ee"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4936 …}
  +nested: Doctrine\ORM\PersistentCollection {#4940 …}
  +votes: Doctrine\ORM\PersistentCollection {#4938 …}
  +reports: Doctrine\ORM\PersistentCollection {#4951 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4953 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4955 …}
  -id: 175019
  -bodyTs: "'exact':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemm.ee/comment/6713841"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701208188 {#4944
    date: 2023-11-28 22:49:48.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
97 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
98 DENIED moderate
App\Entity\EntryComment {#4714
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4600
    +user: App\Entity\User {#4613 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +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 {#4595
      date: 2023-12-08 09:47:53.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4601 …}
    +nested: Doctrine\ORM\PersistentCollection {#4603 …}
    +votes: Doctrine\ORM\PersistentCollection {#4605 …}
    +reports: Doctrine\ORM\PersistentCollection {#4607 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4609 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4611 …}
    -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 {#4596
      date: 2023-11-28 09:29:51.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4600}
  +body: """
    Cool, didn’t know that!\n
    \n
    Just tested, so you have to cd to the directory with the docker-compose.yml file in it first
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 3
  +score: 0
  +lastActive: DateTime @1701161473 {#4712
    date: 2023-11-28 09:51:13.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@RagingToad@feddit.nl"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4715 …}
  +nested: Doctrine\ORM\PersistentCollection {#4717 …}
  +votes: Doctrine\ORM\PersistentCollection {#4719 …}
  +reports: Doctrine\ORM\PersistentCollection {#4721 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4723 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4725 …}
  -id: 172950
  -bodyTs: "'cd':12 'cool':1 'didn':2 'directori':15 'docker-compose.yml':18 'file':19 'first':22 'know':4 'test':7"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4065659"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701161473 {#4713
    date: 2023-11-28 09:51:13.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
99 DENIED edit
App\Entity\EntryComment {#4714
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4600
    +user: App\Entity\User {#4613 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +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 {#4595
      date: 2023-12-08 09:47:53.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4601 …}
    +nested: Doctrine\ORM\PersistentCollection {#4603 …}
    +votes: Doctrine\ORM\PersistentCollection {#4605 …}
    +reports: Doctrine\ORM\PersistentCollection {#4607 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4609 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4611 …}
    -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 {#4596
      date: 2023-11-28 09:29:51.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4600}
  +body: """
    Cool, didn’t know that!\n
    \n
    Just tested, so you have to cd to the directory with the docker-compose.yml file in it first
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 3
  +score: 0
  +lastActive: DateTime @1701161473 {#4712
    date: 2023-11-28 09:51:13.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@RagingToad@feddit.nl"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4715 …}
  +nested: Doctrine\ORM\PersistentCollection {#4717 …}
  +votes: Doctrine\ORM\PersistentCollection {#4719 …}
  +reports: Doctrine\ORM\PersistentCollection {#4721 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4723 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4725 …}
  -id: 172950
  -bodyTs: "'cd':12 'cool':1 'didn':2 'directori':15 'docker-compose.yml':18 'file':19 'first':22 'know':4 'test':7"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4065659"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701161473 {#4713
    date: 2023-11-28 09:51:13.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
100 DENIED moderate
App\Entity\EntryComment {#4714
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4600
    +user: App\Entity\User {#4613 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +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 {#4595
      date: 2023-12-08 09:47:53.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4601 …}
    +nested: Doctrine\ORM\PersistentCollection {#4603 …}
    +votes: Doctrine\ORM\PersistentCollection {#4605 …}
    +reports: Doctrine\ORM\PersistentCollection {#4607 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4609 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4611 …}
    -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 {#4596
      date: 2023-11-28 09:29:51.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4600}
  +body: """
    Cool, didn’t know that!\n
    \n
    Just tested, so you have to cd to the directory with the docker-compose.yml file in it first
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 3
  +score: 0
  +lastActive: DateTime @1701161473 {#4712
    date: 2023-11-28 09:51:13.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@RagingToad@feddit.nl"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4715 …}
  +nested: Doctrine\ORM\PersistentCollection {#4717 …}
  +votes: Doctrine\ORM\PersistentCollection {#4719 …}
  +reports: Doctrine\ORM\PersistentCollection {#4721 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4723 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4725 …}
  -id: 172950
  -bodyTs: "'cd':12 'cool':1 'didn':2 'directori':15 'docker-compose.yml':18 'file':19 'first':22 'know':4 'test':7"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.nz/comment/4065659"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701161473 {#4713
    date: 2023-11-28 09:51:13.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
101 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
102 DENIED moderate
App\Entity\EntryComment {#4822
  +user: Proxies\__CG__\App\Entity\User {#4827 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4714
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4600
      +user: App\Entity\User {#4613 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4595
        date: 2023-12-08 09:47:53.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4601 …}
      +nested: Doctrine\ORM\PersistentCollection {#4603 …}
      +votes: Doctrine\ORM\PersistentCollection {#4605 …}
      +reports: Doctrine\ORM\PersistentCollection {#4607 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4609 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4611 …}
      -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 {#4596
        date: 2023-11-28 09:29:51.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4600}
    +body: """
      Cool, didn’t know that!\n
      \n
      Just tested, so you have to cd to the directory with the docker-compose.yml file in it first
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1701161473 {#4712
      date: 2023-11-28 09:51:13.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@RagingToad@feddit.nl"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4715 …}
    +nested: Doctrine\ORM\PersistentCollection {#4717 …}
    +votes: Doctrine\ORM\PersistentCollection {#4719 …}
    +reports: Doctrine\ORM\PersistentCollection {#4721 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4723 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4725 …}
    -id: 172950
    -bodyTs: "'cd':12 'cool':1 'didn':2 'directori':15 'docker-compose.yml':18 'file':19 'first':22 'know':4 'test':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4065659"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701161473 {#4713
      date: 2023-11-28 09:51:13.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4600}
  +body: "you can also use the -f option to specify the compose file without going to it."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 6
  +score: 0
  +lastActive: DateTime @1701163295 {#4821
    date: 2023-11-28 10:21:35.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@RagingToad@feddit.nl"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4833 …}
  +nested: Doctrine\ORM\PersistentCollection {#4829 …}
  +votes: Doctrine\ORM\PersistentCollection {#4831 …}
  +reports: Doctrine\ORM\PersistentCollection {#4835 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4837 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4839 …}
  -id: 173002
  -bodyTs: "'also':3 'compos':11 'f':6 'file':12 'go':14 'option':7 'specifi':9 'use':4 'without':13"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.blahaj.zone/comment/4669562"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701163295 {#4824
    date: 2023-11-28 10:21:35.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
103 DENIED edit
App\Entity\EntryComment {#4822
  +user: Proxies\__CG__\App\Entity\User {#4827 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4714
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4600
      +user: App\Entity\User {#4613 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4595
        date: 2023-12-08 09:47:53.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4601 …}
      +nested: Doctrine\ORM\PersistentCollection {#4603 …}
      +votes: Doctrine\ORM\PersistentCollection {#4605 …}
      +reports: Doctrine\ORM\PersistentCollection {#4607 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4609 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4611 …}
      -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 {#4596
        date: 2023-11-28 09:29:51.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4600}
    +body: """
      Cool, didn’t know that!\n
      \n
      Just tested, so you have to cd to the directory with the docker-compose.yml file in it first
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1701161473 {#4712
      date: 2023-11-28 09:51:13.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@RagingToad@feddit.nl"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4715 …}
    +nested: Doctrine\ORM\PersistentCollection {#4717 …}
    +votes: Doctrine\ORM\PersistentCollection {#4719 …}
    +reports: Doctrine\ORM\PersistentCollection {#4721 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4723 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4725 …}
    -id: 172950
    -bodyTs: "'cd':12 'cool':1 'didn':2 'directori':15 'docker-compose.yml':18 'file':19 'first':22 'know':4 'test':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4065659"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701161473 {#4713
      date: 2023-11-28 09:51:13.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4600}
  +body: "you can also use the -f option to specify the compose file without going to it."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 6
  +score: 0
  +lastActive: DateTime @1701163295 {#4821
    date: 2023-11-28 10:21:35.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@RagingToad@feddit.nl"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4833 …}
  +nested: Doctrine\ORM\PersistentCollection {#4829 …}
  +votes: Doctrine\ORM\PersistentCollection {#4831 …}
  +reports: Doctrine\ORM\PersistentCollection {#4835 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4837 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4839 …}
  -id: 173002
  -bodyTs: "'also':3 'compos':11 'f':6 'file':12 'go':14 'option':7 'specifi':9 'use':4 'without':13"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.blahaj.zone/comment/4669562"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701163295 {#4824
    date: 2023-11-28 10:21:35.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
104 DENIED moderate
App\Entity\EntryComment {#4822
  +user: Proxies\__CG__\App\Entity\User {#4827 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4714
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +entry: App\Entity\Entry {#2388}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4600
      +user: App\Entity\User {#4613 …}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4595
        date: 2023-12-08 09:47:53.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@luthis@lemmy.nz"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4601 …}
      +nested: Doctrine\ORM\PersistentCollection {#4603 …}
      +votes: Doctrine\ORM\PersistentCollection {#4605 …}
      +reports: Doctrine\ORM\PersistentCollection {#4607 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4609 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4611 …}
      -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 {#4596
        date: 2023-11-28 09:29:51.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4600}
    +body: """
      Cool, didn’t know that!\n
      \n
      Just tested, so you have to cd to the directory with the docker-compose.yml file in it first
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1701161473 {#4712
      date: 2023-11-28 09:51:13.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@luthis@lemmy.nz"
      "@RagingToad@feddit.nl"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4715 …}
    +nested: Doctrine\ORM\PersistentCollection {#4717 …}
    +votes: Doctrine\ORM\PersistentCollection {#4719 …}
    +reports: Doctrine\ORM\PersistentCollection {#4721 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4723 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4725 …}
    -id: 172950
    -bodyTs: "'cd':12 'cool':1 'didn':2 'directori':15 'docker-compose.yml':18 'file':19 'first':22 'know':4 'test':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.nz/comment/4065659"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701161473 {#4713
      date: 2023-11-28 09:51:13.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4600}
  +body: "you can also use the -f option to specify the compose file without going to it."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 6
  +score: 0
  +lastActive: DateTime @1701163295 {#4821
    date: 2023-11-28 10:21:35.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
    "@RagingToad@feddit.nl"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4833 …}
  +nested: Doctrine\ORM\PersistentCollection {#4829 …}
  +votes: Doctrine\ORM\PersistentCollection {#4831 …}
  +reports: Doctrine\ORM\PersistentCollection {#4835 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4837 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4839 …}
  -id: 173002
  -bodyTs: "'also':3 'compos':11 'f':6 'file':12 'go':14 'option':7 'specifi':9 'use':4 'without':13"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.blahaj.zone/comment/4669562"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701163295 {#4824
    date: 2023-11-28 10:21:35.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
105 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
106 DENIED moderate
App\Entity\EntryComment {#4673
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4668
    date: 2023-11-28 09:05:15.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4674 …}
  +nested: Doctrine\ORM\PersistentCollection {#4676 …}
  +votes: Doctrine\ORM\PersistentCollection {#4678 …}
  +reports: Doctrine\ORM\PersistentCollection {#4680 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4682 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4684 …}
  -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 {#4669
    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
107 DENIED edit
App\Entity\EntryComment {#4673
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4668
    date: 2023-11-28 09:05:15.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4674 …}
  +nested: Doctrine\ORM\PersistentCollection {#4676 …}
  +votes: Doctrine\ORM\PersistentCollection {#4678 …}
  +reports: Doctrine\ORM\PersistentCollection {#4680 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4682 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4684 …}
  -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 {#4669
    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
108 DENIED moderate
App\Entity\EntryComment {#4673
  +user: Proxies\__CG__\App\Entity\User {#1943 …}
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#272
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +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 {#2410
      date: 2023-11-28 22:49:48.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1978 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1971 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2443 …}
    +badges: Doctrine\ORM\PersistentCollection {#2426 …}
    +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 {#1850
      date: 2023-11-28 09:01:55.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +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 {#4668
    date: 2023-11-28 09:05:15.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@luthis@lemmy.nz"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4674 …}
  +nested: Doctrine\ORM\PersistentCollection {#4676 …}
  +votes: Doctrine\ORM\PersistentCollection {#4678 …}
  +reports: Doctrine\ORM\PersistentCollection {#4680 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4682 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4684 …}
  -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 {#4669
    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
109 DENIED edit
App\Entity\Magazine {#266
  +icon: Proxies\__CG__\App\Entity\Image {#247 …}
  +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 {#276
    date: 2024-10-22 09:52:22.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#238 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
  +entries: Doctrine\ORM\PersistentCollection {#181 …}
  +posts: Doctrine\ORM\PersistentCollection {#139 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
  +bans: Doctrine\ORM\PersistentCollection {#118 …}
  +reports: Doctrine\ORM\PersistentCollection {#104 …}
  +badges: Doctrine\ORM\PersistentCollection {#82 …}
  +logs: Doctrine\ORM\PersistentCollection {#72 …}
  +awards: Doctrine\ORM\PersistentCollection {#61 …}
  +categories: Doctrine\ORM\PersistentCollection {#1820 …}
  -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 {#270
    date: 2024-10-22 09:53:16.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1698929468 {#272
    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