From 2ca4ad507e7ba81b4b99372660be55e9a3b13cc2 Mon Sep 17 00:00:00 2001 From: its-a-feature Date: Fri, 2 Jan 2026 10:51:56 -0600 Subject: [PATCH] updating jupyter and container orders --- Mythic_CLI/Changelog.md | 6 ++++++ Mythic_CLI/src/cmd/config/vars.go | 2 +- Mythic_CLI/src/cmd/internal/serviceExecution.go | 1 - Mythic_CLI/src/cmd/internal/serviceMetadata.go | 6 +++--- jupyter-docker/Dockerfile | 2 +- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/Mythic_CLI/Changelog.md b/Mythic_CLI/Changelog.md index 91dea9b0..93687216 100644 --- a/Mythic_CLI/Changelog.md +++ b/Mythic_CLI/Changelog.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [0.3.24] - 2026-01-02 + +### Changed + +- Remove the automatic image pruning and moved it to just the `remove_images` command + ## [0.3.23] - 2025-12-30 ### Changed diff --git a/Mythic_CLI/src/cmd/config/vars.go b/Mythic_CLI/src/cmd/config/vars.go index 72146de6..494ea5e9 100644 --- a/Mythic_CLI/src/cmd/config/vars.go +++ b/Mythic_CLI/src/cmd/config/vars.go @@ -4,5 +4,5 @@ package config var ( // Version Mythic CLI version - Version = "v0.3.23" + Version = "v0.3.24" ) diff --git a/Mythic_CLI/src/cmd/internal/serviceExecution.go b/Mythic_CLI/src/cmd/internal/serviceExecution.go index da625013..f956ffea 100644 --- a/Mythic_CLI/src/cmd/internal/serviceExecution.go +++ b/Mythic_CLI/src/cmd/internal/serviceExecution.go @@ -83,7 +83,6 @@ func ServiceStart(containers []string, keepVolume bool) error { log.Printf("[-] Failed to start services: %v", err) return err } - err = manager.GetManager().RemoveImages() if err != nil { log.Printf("[-] Failed to remove images\n%v\n", err) return err diff --git a/Mythic_CLI/src/cmd/internal/serviceMetadata.go b/Mythic_CLI/src/cmd/internal/serviceMetadata.go index 9ca9dd1d..17cb9082 100644 --- a/Mythic_CLI/src/cmd/internal/serviceMetadata.go +++ b/Mythic_CLI/src/cmd/internal/serviceMetadata.go @@ -181,6 +181,9 @@ func AddMythicService(service string, removeVolume bool) { "mythic_postgres": { "condition": "service_healthy", }, + "mythic_server": { + "condition": "service_healthy", + }, } if mythicEnv.GetBool("hasura_use_build_context") { pStruct["build"] = map[string]interface{}{ @@ -657,9 +660,6 @@ func AddMythicService(service string, removeVolume bool) { "mythic_postgres": { "condition": "service_healthy", }, - "mythic_graphql": { - "condition": "service_healthy", - }, "mythic_rabbitmq": { "condition": "service_healthy", }, diff --git a/jupyter-docker/Dockerfile b/jupyter-docker/Dockerfile index 1abf97e7..31908c36 100644 --- a/jupyter-docker/Dockerfile +++ b/jupyter-docker/Dockerfile @@ -18,5 +18,5 @@ ENV JUPYTER_PORT "8888" COPY ["jupyter/", "."] -CMD start.sh jupyter lab --ServerApp.open_browser=false --IdentityProvider.token=${JUPYTER_TOKEN:-mythic} --ServerApp.base_url="/jupyter" --ServerApp.default_url="/jupyter" --port=${JUPYTER_PORT} --ip=${JUPYTER_IP} +CMD start.sh jupyter lab --ServerApp.allow_remote_access=true --ServerApp.open_browser=false --IdentityProvider.token=${JUPYTER_TOKEN:-mythic} --ServerApp.base_url="/jupyter" --ServerApp.default_url="/jupyter" --port=${JUPYTER_PORT} --ip=${JUPYTER_IP} # sudo docker run -p 8888:8888 -v `pwd`/jupyter:/projects jupyter