Juno Local Development Using a Docker Container

The Juno Emulator for local development just got a big upskill :rocket::flexed_biceps:

:package: New ARM Docker image - your Mac will thank you

:high_voltage: Swapped the good old replica for PocketIC - faster & smoother UX

:soap: No more docker-compose clutter

The emulator is now configured in a juno.config file aka you can delete your docker-compose.yml file! :partying_face:

import {defineConfig} from '@junobuild/config';

export default defineConfig({
  satellite: {
    id: 'fmkjf-bqaaa-aaaal-acpza-cai',
    source: 'out',
  },
  emulator: {
    runner: {
      type: "docker",
      name: "my-custom-container-name"
    },
    skylab: {
      ports: {
        console: 5888
      }
    }
  }
});

:cherries: Cherry on top?

This lays the foundation for supporting more (or different) runners in the future.

Have fun and let me know if anything acts weird!

1 Like