Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

1st install Docker-compose.override.yml #49

Open
1 task
deanbushmiller opened this issue Dec 27, 2019 · 0 comments
Open
1 task

1st install Docker-compose.override.yml #49

deanbushmiller opened this issue Dec 27, 2019 · 0 comments

Comments

@deanbushmiller
Copy link

Cannot go any further install of docker build-
I am sure it is me... but point me in the right direction?
KALI: 18.2 Clean image with fresh update of everything as of today

Error:root@kali:~/purple-team-attack-automation# docker-compose build
ERROR: yaml.parser.ParserError: while parsing a block mapping
in "././docker-compose.override.yml", line 4, column 5
expected , but found ''

My file looks like this:
version: "3"
services:
ms:
build:
context: .
dockerfile: ./Dockerfile
args:
BUNDLER_ARGS: --jobs=8
image: metasploit:dev
environment:
LHOST: 10.0.4.253
ports:
- 8080:8080
- 443:443
DATABASE_URL: postgres://postgres@db:5432/msf_dev?pool=200&timeout=5
volumes:
- .:/usr/src/metasploit-framework

When i completed the file: I rewrite the ENV file
echo "COMPOSE_FILE=./docker-compose.yml:./docker-compose.override.yml:./docker-compose.local.override.yml" >> .env

NO JOY.

You might also want to check the last ~1k lines of
/opt/metasploit/apps/pro/engine/config/logs/framework.log or
~/.msf4/logs/framework.log for relevant stack traces

System stuff

Metasploit version

Metasploit is working fine
=[ metasploit v5.0.66-dev

I installed Metasploit with:

OS

KALI 18
What OS are you running Metasploit on?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant