Trendyol Tech
Published in

Trendyol Tech

A modern toolkit to start working with container images on macOS that meets your needs without requiring a Docker Daemon or even Docker Desktop
# Use limactl shell command
$ limactl shell demo
# Use lima and LIMA_INSTANCE environment variable
$ export LIMA_INSTANCE=demo
$ lima
# Use ssh command
$ sh $(limactl show-ssh --format=args demo) lima@
Last login: Thu Jan 13 19:04:38 2022 from
$ limactl stop demo
$ limactl delete demo --force
nerdctl.lima container run hello-world resolved |++++++++++++++++++++++++++++++++++++++|
index-sha256:975f4b14f326b05db86e16de00144f9c12257553bba9484fed41f9b6f2257800: done |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:f54a58bc1aac5ea1a25d796ae155dc228b3f0e11d046ae276b39c4bf2f13d8c4: done |++++++++++++++++++++++++++++++++++++++|
config-sha256:feb5d9fea6a5e9606aa995e879d862b825965ba48de054caab5ef356dc6b3412: done |++++++++++++++++++++++++++++++++++++++|
layer-sha256:2db29710123e3e53a794f2694094b9b4338aa9ee5c40b930cb8063a1be392c54: done |++++++++++++++++++++++++++++++++++++++|
elapsed: 2.8 s total: 4.4 Ki (1.6 KiB/s)
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.
To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker ID:
For more examples and ideas, visit:
$ mkdir -p work
$ cd work
$ cat <<EOF | xargs -I{} echo {} > Dockerfile
FROM nginx
RUN echo "hello lima" > /usr/share/nginx/html/index.html
$ nerdctl.lima build -t lima-test .
[+] Building 15.5s (6/6) FINISHED
=> [internal] load build definition from Dockerfile 0.2s
=> => transferring dockerfile: 103B 0.1s
=> [internal] load .dockerignore
$ nerdctl.lima image list
hello-world latest 975f4b14f326 10 minutes ago linux/amd64 20.0 KiB
lima-test latest afc24ee83b24 16 seconds ago linux/amd64 149.1 MiB
$ nerdctl.lima container run -d -p lima-test
$ nerdctl -n “” image list
rancher/kim <none> 20704973bbdb 33 hours ago linux/amd64 46.2 MiB
rancher/klipper-helm v0.6.6-build20211022 4bf16ca677f9 33 hours ago linux/amd64 232.0 MiB
rancher/klipper-lb v0.3.4 7156afc9b247 33 hours ago linux/amd64 8.6 MiB
rancher/local-path-provisioner v0.0.20 004134f27c6e 33 hours ago linux/amd64 34.0 MiB



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store

🇹🇷KCD Turkey Organizer🎖Best Sigstore Evangelist🐦SSCS Twitter Community Admin✍️@chainguard_dev Fan📦Container Addict📅Organizer at @cloudnativetr•@devopstr