Skip to content

Stuck when running within Docker Desktop Desktop for Mac #16

@James4Ever0

Description

@James4Ever0

Steps to reproduce

How'd you do it?

  1. Install and run Docker app for macOS
  2. Run the image by docker run --rm -it parrotsec/security
  3. Run the command msfconsole and get stuck

Expected behavior

Shall invoke the console.

Current behavior

Get stuck forever.

Versions

Docker version

Docker version 26.1.1, build 4cf5afa

macOS version

Version 12.5 (Apple M1)

Parrot OS version

Distributor ID: Parrot
Description: Parrot OS 5.3 (Electro Ara)
Release: 5.3
Codename: ara

Metasploit version

Framework: 6.3.27-dev
Console : 6.3.27-dev

Additional Information

If I change to the directory /usr/share/metasploit-framework first then run ./msfconsole it will not get stuck, and subsequent msfconsole invocations from anywhere will not get stuck.

One can mitigate this issue by:

# do not run in root directory '/'
docker run --rm -it -w /root parrotsec/security
msfconsole

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions