grafana/k6

Verified Publisher

By Grafana Labs

Updated 1 day ago

Image
Developer tools
43

10M+

grafana/k6 repository overview

k6 is a modern load-testing tool, built on our years of experience in the performance and testing industries. It provides a clean, approachable scripting API, local and cloud execution, flexible configuration, with command & control through CLI or a REST API.

This is how load testing should look in the 21st century.


Available Tags

Features

There's even more! See all features available in k6 docs

Usage

See the Docker examples in the Running k6 guide to learn how to run tests using the grafana/k6 images.

A note on running browser tests

When running browser tests using the *-with-browser images, you'd need to provide additional capabilities to the container due to k6 running Chrome in a sandbox mode:

  • Via Jessie Frazelle's seccomp profile for Chrome: Download:
    curl -o chrome.json https://raw.githubusercontent.com/jfrazelle/dotfiles/master/etc/docker/seccomp/chrome.json
    
    Launch the container using:
    docker run --rm -i --security-opt seccomp=$(pwd)/chrome.json grafana/k6:latest-with-browser - <script.js
    
  • Provice SYS_ADMIN capability when running a container:
    docker run --rm -i --cap-add=SYS_ADMIN grafana/k6:latest-with-browser - <script.js
    

Tag summary

Content type

Image

Digest

sha256:806202567

Size

332.1 MB

Last updated

1 day ago

docker pull grafana/k6:master-with-browser

This week's pulls

Pulls:

436,139

Last week