Skip to content

Commit d2a0fb9

Browse files
authored
ENGDOCS-2374 (#21778)
<!--Delete sections as needed --> ## Description <!-- Tell us what you did and why --> ## Related issues or tickets <!-- Related issues, pull requests, or Jira tickets --> ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Technical review - [ ] Editorial review - [ ] Product review
1 parent 0b95e28 commit d2a0fb9

File tree

1 file changed

+26
-23
lines changed

1 file changed

+26
-23
lines changed

content/manuals/desktop/cert-revoke-solution.md

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -70,36 +70,39 @@ You should now see the Docker Desktop Dashboard.
7070

7171
## MDM script
7272

73-
If you are an IT administrator, you can use the following script as a workaround for your developers if they have a re-signed version of Docker Desktop version 4.35 or later.
73+
If you are an IT administrator and your developers are seeing the malware pop-up:
7474

75-
```console
76-
#!/bin/bash
75+
1. Make sure your developers have a re-signed version of Docker Desktop version 4.32 or later.
76+
2. Run the following script:
7777

78-
# Stop the docker services
79-
echo "Stopping Docker..."
80-
sudo pkill [dD]ocker
78+
```console
79+
#!/bin/bash
8180

82-
# Stop the vmnetd service
83-
echo "Stopping com.docker.vmnetd service..."
84-
sudo launchctl bootout system /Library/LaunchDaemons/com.docker.vmnetd.plist
81+
# Stop the docker services
82+
echo "Stopping Docker..."
83+
sudo pkill [dD]ocker
8584

86-
# Stop the socket service
87-
echo "Stopping com.docker.socket service..."
88-
sudo launchctl bootout system /Library/LaunchDaemons/com.docker.socket.plist
85+
# Stop the vmnetd service
86+
echo "Stopping com.docker.vmnetd service..."
87+
sudo launchctl bootout system /Library/LaunchDaemons/com.docker.vmnetd.plist
8988

90-
# Remove vmnetd binary
91-
echo "Removing com.docker.vmnetd binary..."
92-
sudo rm -f /Library/PrivilegedHelperTools/com.docker.vmnetd
89+
# Stop the socket service
90+
echo "Stopping com.docker.socket service..."
91+
sudo launchctl bootout system /Library/LaunchDaemons/com.docker.socket.plist
9392

94-
# Remove socket binary
95-
echo "Removing com.docker.socket binary..."
96-
sudo rm -f /Library/PrivilegedHelperTools/com.docker.socket
93+
# Remove vmnetd binary
94+
echo "Removing com.docker.vmnetd binary..."
95+
sudo rm -f /Library/PrivilegedHelperTools/com.docker.vmnetd
9796

98-
# Install new binaries
99-
echo "Install new binaries..."
100-
sudo cp /Applications/Docker.app/Contents/Library/LaunchServices/com.docker.vmnetd /Library/PrivilegedHelperTools/
101-
sudo cp /Applications/Docker.app/Contents/MacOS/com.docker.socket /Library/PrivilegedHelperTools/
102-
```
97+
# Remove socket binary
98+
echo "Removing com.docker.socket binary..."
99+
sudo rm -f /Library/PrivilegedHelperTools/com.docker.socket
100+
101+
# Install new binaries
102+
echo "Install new binaries..."
103+
sudo cp /Applications/Docker.app/Contents/Library/LaunchServices/com.docker.vmnetd /Library/PrivilegedHelperTools/
104+
sudo cp /Applications/Docker.app/Contents/MacOS/com.docker.socket /Library/PrivilegedHelperTools/
105+
```
103106

104107
## Homebrew casks
105108

0 commit comments

Comments
 (0)