Moving a native MISP install to Docker

When the host distribution is no longer supported, a native MISP install has to move to a container-based deployment. This page covers the data to move, the sequence, sync partner changes and how to verify the result.

On this page

How to migrate a native MISP install to Docker when the host OS ends support

If the host distribution under your native MISP install is out of support, you need to move the instance, not patch it in place. A planned migration means building a new environment on a supported base, copying data across, and proving the result before you cut over. The reason is structural: an in-place operating system upgrade touches the PHP stack, the database and the background workers at the same time, and the project's own guidance treats the platform as a set of components that must be aligned. Decide early which target you are building. MISP 2.5 is the recommended line for new deployments, and MISP 2.4 is end of life with security fixes only, so do not carry the old version into the new host. Confirm the exact release you will pin against the MISP download page and the current MISP releases before you start.

The project lists several installation options: the official installer, Docker images, Ansible roles, Puppet and RPM packages. Docker is a valid target, but it changes where things live. Your database, the files attachment directory, the GnuPG keyring used for signing and encryption, and your config.php settings all need a defined home in the container layout. Write an inventory of each one from the existing host, including the owner and permissions of the attachment and GnuPG paths, because mismatched ownership is a common cause of failures that only appear after cutover. Also list every sync partner, feed and API key, since these are the items you will re-point or re-issue. Ask your vendor or the maintainers to confirm which settings the Docker image expects to be set through environment variables and which must be mounted as files in your environment.

Treat the cutover as a rehearsal first. Restore a copy of the database and files into the Docker stack on a separate network, run the MISP health checks and confirm that events, attributes, correlations and GnuPG-signed content read correctly. Only then schedule the production switch, and keep the old host read-only and running until sync partners confirm they are pulling from the new endpoint. Plan a rollback path that does not depend on the old host being intact after the switch. The effort depends on database size, the number of attachments, how many sync partners you have and how much custom configuration exists, so ask any partner to scope those four items in writing before agreeing a timeline.

What changes between a native install and misp-docker

This table compares how a native MISP install and a misp-docker deployment differ on the points that affect a migration, with the impact and the action for each. Read each row before you pick a target tag, because the rows set the order of work. The main takeaway is that the target version and its README define the variable names, paths and migration steps you must follow.

ChangeImpact on the migrationAction for the team
Host installer to container imagesA native install is tied to the host OS and its packages. misp-docker moves PHP, workers, database and Redis into separate containers, so host paths, services and cron jobs no longer apply as they did.Inventory every host-level service, cron entry and custom script, then map each one to its container, volume or host-side replacement.
Database migration system in 2.5.47MISP 2.5.47, released 17 September 2026, introduced a new database migration system with PostgreSQL support. Schema changes now run through this system, so the source and target versions must line up.Confirm the source schema version and the target tag before dumping data, and test the import on a copy first.
Target release 2.5.50MISP 2.5.50 was released on 9 October 2026. Choosing the newest 2.5 release gives the latest fixes, but it also means the migration path must be tested against that exact release.Pin the image tag in your configuration, then run the migration and verification steps against that tag rather than against a moving latest tag.
MISP 2.4 end of lifeMISP 2.4 is end of life with security fixes only, and the project strongly advises against installing new 2.4 instances. A native host still on 2.4 needs a version step as well as a platform move.Record the current version and plan the upgrade in the same change window, or in a sequence you document and approve.
Database, files and attachmentsEvent data lives in the database, while attachments and uploaded files sit on the host filesystem. Both must reach the matching container volumes with ownership and permissions intact.Copy the database and file store together from one consistent point, then verify file counts and checksums in the new volumes.
GnuPG keys and settingsSigning and encryption keys and the instance configuration must be carried over, and the container paths for them may differ from the native paths.Export keys and settings, then confirm the exact variable names and paths in the misp-docker README for the chosen tag before setting them.
Sync partner endpointsPartners hold your instance URL and sync configuration. A changed base URL or proxy layout breaks sync until the partners update their side.List every sync partner, agree the new URL and cut-over time with each one, then test a pull and push after switching.
Verification after cut-overA successful container start does not prove that data, keys, attachments and sync are correct.Run a documented checklist: event counts, attachment access, signed exports, sync status and user logins, and keep the native host available for rollback until sign-off.

Preparing to migrate MISP to Docker before the cutover

A native MISP host that has reached the end of its distribution support is a difficult thing to move in one step. The five items below form the groundwork: a verified backup, a record of what the instance does, a written map of sync partners, and a rehearsal on the target image. Skipping any of them tends to surface as a failure after the new containers are already serving users.

Full backup, restore-tested

Take a complete dump of the MySQL or MariaDB database and a copy of the file store, including attachments, uploaded samples and the GnuPG keyring. A backup only counts once a restore onto a separate host has been run and the event count, attribute count and a sample of attachments have been compared against the source. Confirm where the files live on your host, since local paths and mounted volumes differ between installs.

Inventory of local changes

List every change made outside the stock installation: edited PHP files, custom themes, local modules, cron entries, Supervisor or systemd units and altered config.php values. Each item needs one of three outcomes: carried over, replaced by a container setting, or dropped. Anything left undocumented is likely to be lost, because the Docker image is built from the upstream code and environment variables.

Custom modules and integrations

Record each misp-modules service, feed, enrichment or export script and each external tool that reads from MISP, such as a SIEM connector, a PyMISP job or a firewall export. For every entry, confirm the owner, the credential it uses and whether the container network can reach the same endpoint. Integrations that call the instance by its hostname will break when BASE_URL changes, so note them now.

Written list of sync partners

Export the server list from the existing instance and record, for each partner, the remote URL, the API key owner, the push and pull settings, the distribution filters and the organisation identifiers. Ask each partner whether they expect a new certificate, a new address or a new key after the move. Without this list, re-pointing synchronization becomes guesswork, and events can stop flowing in one direction without any visible error.

Parallel test environment on the target tag

Build a second instance from the exact misp-docker tag you plan to run, restore the backup into it and point it at a non-production hostname. Use it to test login, a sample sync with a lab partner, attachment downloads and the GnuPG signing path. Confirm your host storage layout, any external Redis or database services, reverse proxy rules and firewall paths before the cutover date, so the test copy matches production as closely as possible.

Which data moves from the native install and where it lands

Start with an inventory, because every data class in a native MISP install needs a named destination in the container build before any copy runs. The database is the first decision. Your native instance runs MySQL or MariaDB, and the misp-docker build expects that database engine as well, so the default path is a logical dump, restore and a schema check. Moving to PostgreSQL is a separate project. MISP 2.5.47 introduced a new database migration system with PostgreSQL support, so confirm against the release notes for the exact version you will run whether PostgreSQL is a supported target for your build before you treat it as an option. Record the database name, the character set and the account that owns it, because the container configuration will need matching values.

Attachments, the file store and GnuPG keys are the classes most often lost. Event attachments and uploaded files live in the MISP file directory on the host, and each must be mapped to the matching volume in the container build so that files are not silently written to an ephemeral layer. GnuPG keys used for signing and encryption sit in the keyring of the account that runs MISP, and that account's UID and GID inside the container image often differ from the host. Copy the keyring, then set ownership and permissions to what the container's web and worker processes actually use. Confirm the key fingerprints, the trust settings and the ownership of the key directory after the copy, and check that a test signing operation succeeds before you cut over.

Settings split between the database and configuration files, and each part needs its own map. Values stored in the database, such as server settings and sync server records, travel with the database dump. Values in the configuration file, such as the base URL, the database connection and the Redis settings, must be rewritten to the container's variables, and some of them are mandatory in the current build, so check the misp-docker documentation for each one. Write a table that maps every native path or service to its container volume or variable, and list the owner of each item on both sides. Treat any gap in that table as a blocker. Ownership drift inside containers is the most common cause of a working copy that fails at first use, so verify it with an explicit file check rather than assuming it.

How the parts of a native install map onto the container deployment

The move starts on the native host, where the database, file store, attachments, GnuPG keys and configuration each need to be captured as a consistent backup. Those artifacts are transferred into the volumes and services of the misp-docker deployment, which you bring up as a parallel test instance first. Check each part on the test instance (logins, attachments, signing, sync) before the cutover, where DNS or the reverse proxy switches traffic to the new instance.

Native components move through a backup into container volumes, verified on a test instance before cutover.

The migration sequence with checks and rollback points

The sequence moves a native MISP instance into misp-docker in controlled stages, with a verification check at each step and a native host that stays intact until the Docker instance has passed its tests. It ends with a cut-over that only happens once the target behaves like the source.

  1. Freeze the source instance

    Announce a change window, disable scheduled jobs and pause outbound and inbound sync on the native host so no new events, attributes or user changes land during the copy. Record the MISP version, PHP and database versions, the exact sync server list, and the active feeds and workers in a change record. Done means the change record lists the frozen state and a test event created before the freeze can still be read on the native host.

  2. Take and verify backups

    Dump the MySQL or MariaDB database, archive the attachments and files directory, copy the GnuPG keyring and the configuration files, and store everything outside the native host. Confirm the database dump restores into a scratch database and that the archive file counts match the source. Record checksums for each artifact. Done means a restore test succeeds and the checksums are recorded.

  3. Stand up the target misp-docker at the chosen tag

    Deploy misp-docker from the image tag you have validated against your target MISP version, with a dedicated environment file, persistent volumes for the database, files and GnuPG keys, and the Redis service. Confirm the version tag matches the version on the native host or the planned upgrade target, and check the project's current release notes for the tag you choose. Done means all containers report healthy and the empty instance loads its login page.

  4. Import database, files, attachments and GnuPG keys

    Load the database dump into the container database, copy attachments and the files directory into the mapped volumes, and import the GnuPG keys into the keyring location the container reads. Fix file ownership so the web and worker processes can read and write them. Done means row counts for events, attributes and users match the native host, a sample attachment downloads with the same checksum, and a sample signed message verifies.

  5. Run the database migration step

    Run the migration tooling that ships with the target release so the imported schema matches what the new version expects. Review the migration output for failed or skipped steps before going further. Note that MISP 2.5.47 introduced a new database migration system with PostgreSQL support, so confirm which migration path applies to your release. Done means the migration completes without errors, and the status check reports no pending migrations.

  6. Check settings, roles and background workers

    Compare the administration settings, authentication configuration, feed list, organisation and sharing group records, and user roles against the frozen state of the native host. Confirm the background workers start and process a test job, and that the base URL and any proxy headers match the new hostname. Done means a settings diff shows only intentional differences and a test job completes.

  7. Run a test sync with a partner instance

    Point one trusted sync partner at the Docker instance, using a test event that you created on the target only, and confirm the partner pulls and pushes it with the expected distribution level. Check the partner's logs for rejected certificates or API key errors and update the server's stored URL and key if needed. Done means the test event appears on the partner and a partner event appears on the target, both with correct distribution.

  8. Cut over and keep the native host read-only

    Repoint DNS or the reverse proxy to the Docker instance, re-point the remaining sync partners in a planned order, and re-enable scheduled jobs on the target only. Leave the native host intact, powered on and read-only, with its services stopped or its web server disabled for writes, until verification passes and the business owner signs off. Rollback point: until sign-off, reverting means switching DNS or the proxy back to the native host, which still holds the frozen data. Done means the target serves all users, sync runs cleanly for a full cycle, and the native host is archived with its backups retained.

Re-pointing sync partners after the move

When the public hostname and certificate chain stay the same, the move is mostly invisible to partners. The sync connection is defined by the URL and the credentials your partners hold, so if both still resolve to the new Docker host, partners usually need no configuration change. Plan the cutover so the old native service stops accepting connections only after the new containers answer on the same address.

  • Keep the URL identical: Partners store your base URL in their sync server entry. Confirm the public address, including the port, matches exactly what they have configured.
  • Keep the sync user API key valid: Migrated database records carry the existing user keys. Confirm with a test login that the key still authenticates against the new instance.
  • Check the reverse proxy path: Make sure the new front end forwards the sync endpoints and does not block requests by path or user agent.
  • Run a pull and a push test: Ask one partner to trigger a pull and confirm an event from them arrives, then push a test event from your side.
  • Watch for pending jobs: Background jobs that were queued on the old host may run again on the new one, so review the job queue once the instance is live.

Before you declare success, confirm with each partner that their next scheduled sync completed without authentication or certificate errors.

How to verify the migrated MISP instance before retiring the native host

Verification starts with data integrity, and the first check is counts. Compare the number of events, attributes, objects, organisations, users and sharing groups in the new misp-docker instance against the figures you recorded from the native host before the final database dump. Then open a sample of events across old distribution levels and confirm the attributes, tags and galaxy clusters match. Next, download several attachments and malware samples from the migrated instance and confirm they open and hash to the same values as the originals, since a missing or misplaced files directory often shows up only at this step. Confirm the GnuPG keyring is in place by signing and verifying a test event, because signing failures usually point to a key that was not carried across or to a mismatched fingerprint in the settings.

Next, test access and automation. Log in as a representative account for each role, including an administrator, a publisher, a read-only user and a sync user, and confirm each sees and can change only what its role allows. Check that API keys still authenticate for your scripts and PyMISP jobs, and that any identity provider login behaves as it did natively. Verify correlation by adding a test indicator that should match an existing one, and confirm the background workers process the job queue without a backlog. Create a test event on the migrated instance, push it to a partner in one direction, then pull a test event from that partner in the other direction, and confirm both sides record the same UUIDs and distribution. Finally, export a feed from the new instance and compare it with the native export in the same format. Differences in ordering are expected, but missing records or changed fields are not.

Keep the native host available, unchanged apart from its sync connections, for a period your team defines before anyone switches it off. That window is your rollback path if a problem appears only under real traffic. Confirm the length in writing with the instance owner and record what would trigger a rollback. Retirement needs a sign-off from the instance owner, supported by the check results, the partners who confirmed their sync, and a note on any open differences. Ask your partner or team to confirm which backups of the native host are kept, where they are stored and how long they are retained, because those are the last copy of the pre-migration state.

What makes a native-to-Docker move take longer

This table lists the drivers that raise or lower the effort of moving a native MISP install into misp-docker, with the effect of each and what to ask for in a quote. Read each row as a question to answer about your own instance before requesting a scope. Most drivers compound, so a large database combined with a database engine change usually needs more testing than either alone.

DriverEffect on the moveWhat to ask for in a quote
Database size and engine changeLarger dumps lengthen export, import and verification. Moving from MySQL or MariaDB to a different engine adds schema and query testing.Confirm the target engine, the dump method, and the verification queries that will be run before cutover.
Attachment and file volumeAttachments, sample files and the files directory must be copied and permission-checked. Volume drives transfer time and storage planning on the new host.Ask how attachment counts and total size will be measured, and how file ownership and permissions will be preserved.
GnuPG keys and handlingEach key used for signing or encrypted sync must be exported, imported and tested. Keys with unclear ownership or missing private material slow the move.Ask for the key inventory, who holds each private key, and how key fingerprints will be checked against the original.
Number of sync partnersEvery partner connection may need its URL, certificate, API key or sync filter updated. Partners that cannot coordinate a change window extend the timeline.Ask who contacts each partner, how re-pointing is tested, and whether the old instance stays read-only during the switch.
Custom modules and local patchesPatches made to the native install must be identified, reviewed and rebuilt in the container image. Undocumented changes are the most common source of rework.Ask for a list of local patches, custom modules and changed configuration files, and how each will be carried over or retired.
SIEM and SOAR integrationsEach connector that reads from or writes to MISP needs its endpoint, credentials and export paths rechecked. Breakage often appears only after the first scheduled job runs.Ask which integrations exist, which owner validates each one, and what test traffic will be used to confirm them.
Number of environments to testStaging, pre-production and production each need the same data path and a rehearsed cutover. More environments add repeated restore and verification cycles.Ask how many environments are in scope, whether a restore rehearsal is included, and what evidence is delivered from each.
Change window availabilityA short or fixed window limits how much data can be moved and verified in one pass. Without a window, a parallel run with a controlled switch is usually needed.Ask whether the work is planned around a defined window, what rollback looks like, and who approves the cutover.
Host distribution end of supportAn unsupported host gives less time to plan, and security exposure may force an earlier move. Rushed cutovers tend to skip sync re-pointing checks.Confirm the current host support status with the vendor or your own platform team before fixing the schedule.

Questions teams ask before they migrate MISP to Docker

What drives the cost of moving a native MISP install to Docker?

The cost is driven mainly by how much state has to move and how many systems depend on it. The main inputs are the size of the database, the volume of attachments and files, how many GnuPG keys and custom settings need to be carried over, how many sync partners must be re-pointed, and whether the current host has customizations or plugins that do not exist in the container build. Costs fall into two groups. Internal staff time covers inventory, backups, the change window and testing. Any external engagement is billed against a written scope. One-time work includes the migration itself and the first verification. Recurring work is the ongoing operation of the new containers, which is not covered by the migration. When requesting a quote, ask the provider to list each data set to be moved, each sync partner to be re-pointed, and the test cases used to confirm the result.

How long does a MISP Docker migration take?

Duration depends on the data volume, the number of sync partners, the complexity of the existing configuration and the length of the agreed change window. The database and attachment copies usually dominate the schedule when the instance holds large amounts of data, because they determine how long the instance must be paused or how much a final sync must catch up. Partner coordination can also set the timeline, since each sync partner must confirm new connection details and may need a maintenance slot of its own. Ask the provider for a timeline built from your own measured data size and your agreed freeze window, not a generic duration. The project's own installation options, including Docker images, are documented on the MISP download page, and the version you target affects the steps to follow.

What must our team provide before a migration starts?

The team must provide access, current backups and a confirmed change window before any migration step begins. In practice this means:

  • Administrative access to the native host, the database server and any storage holding attachments
  • A full, tested backup of the database, the files directory, attachments and the GnuPG keyring
  • A written list of sync partners, their contacts and their agreed connection details
  • A change window long enough to stop writes, take a final copy and verify the result
  • A named owner on your side who can approve cutover and rollback decisions

Confirm with your provider which of these are needed for your specific environment, including any network paths between the host and the container platform.

Can our internal team migrate MISP to Docker without a partner?

Yes, a capable internal team can perform this migration, provided it has experience with Linux administration, MySQL or MariaDB, Docker and the MISP configuration model. The work is mostly careful inventory, data copies and verification rather than new development. The main risks for an internal team are missed settings, incomplete GnuPG key transfer and sync partners left pointing at the old host. Before deciding, assess whether your staff have run MISP in production, whether they can test restores, and whether they have time during the change window. A partner is most useful when the team lacks container or database skills, or when the instance has heavy customization. Ask the official MISP support page about paid support options if you want vendor-level help, and compare them with a fixed-scope engagement from a partner.

Can we keep the native host as a fallback during the move?

Keeping the native host available as a fallback is strongly recommended, and it is usually the safest path. Leave the original host untouched and read-only during verification, and keep its database and files backed up until the new containers have passed your acceptance checks. The fallback plan should state who makes the rollback decision, how sync partners are switched back, and how any writes made on the new instance are reconciled with the old one. Do not run both instances as active writers against the same partners, because that can create duplicate or conflicting events. Confirm with your provider how long the fallback will be kept and what the retirement step looks like once acceptance is signed off.

How do we confirm the Docker instance matches the native one?

Verification should compare the data, the configuration and the behavior of the two instances, not just check that the web interface loads. Check record counts for events, attributes and organisations, confirm that a sample of attachments opens correctly, and verify that the GnuPG keys can sign and encrypt as before. Test sync with each partner in both directions and confirm that the correlation and export functions work. Review settings such as base URL, authentication and logging against your documented baseline. Write these checks into the migration plan before cutover so that acceptance is measured against a fixed list. Ask your provider to show the test cases and the results for each item.

What should a written quote for this migration include?

A quote should describe the scope in enough detail that you could check the work against it. It should list the systems in scope, the data sets to be moved, the number of sync partners to be re-pointed, the verification tests, the rollback plan and the change window assumptions. It should state which items are one-time and which are recurring, what is excluded, such as later upgrades or ongoing operations, and who is responsible for partner coordination. It should name the deliverables, including a migration runbook and an acceptance checklist, and state the conditions under which the fixed scope would change. DeployOpen agrees scope, deliverables and timelines in writing before work starts, so a quote follows directly from that written scope.

How DeployOpen scopes, delivers and supports a MISP Docker migration

DeployOpen approaches moving a native MISP install to Docker as a fixed-scope engagement that starts with an inventory of the existing host and ends with a documented, verified container deployment. The work is planned in writing before any data moves, so your team knows what changes, what stays, and what needs confirming with sync partners.

How we scope

  • Inventory the current MISP version, database, attachment storage, GnuPG keys, and custom settings before agreeing a plan.
  • Confirm the target misp-docker release and the MISP version it runs, so the migration targets a supported line.
  • Agree in writing which sync partners, feeds, and authentication integrations must be re-pointed or re-tested.

How we build

  • Stage the database, file, attachment, and GnuPG key migration in a non-production copy of the instance first.
  • Map host settings and environment values into the container configuration, recording each change for review.
  • Test correlation, search, exports, and sync pulls and pushes against the migrated copy before any cutover step.

How we hand over

  • Deliver a runbook covering the cutover sequence, rollback steps, and the configuration decisions made during the build.
  • Document how each sync partner was re-pointed, with the agreed test results and any open items for the partner.
  • Walk your platform and security teams through daily operation of the container stack, backups, and upgrade steps.

How we support

  • Ongoing support, upgrades, and continuous testing are available as a retainer after the migration is complete.
  • Retainer scope can cover following MISP security advisories and planning future container topology changes.
  • Ask for the written support scope, response expectations, and exclusions alongside the migration quote.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.