Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

imil@mastodon.bsd.cafeI

imil@mastodon.bsd.cafe

@imil@mastodon.bsd.cafe
About
Posts
4
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

View Original

Posts

Recent Best Controversial

  • Setup an isolated web server as a smolBSD microvm in 1 minute:```FROM base,etc
    imil@mastodon.bsd.cafeI imil@mastodon.bsd.cafe

    Setup an isolated web server as a smolBSD microvm in 1 minute:
    ```
    FROM base,etc

    LABEL smolbsd.service=smolweb
    LABEL smolbsd.publish="8880:8880"

    ARG PUBKEY="ssh-ed25519 foo user@bar"

    RUN pkgin up && pkgin -y in caddy

    RUN <<EOF
    useradd -m smol
    cd /home/smol
    mkdir -p .ssh www
    echo "$PUBKEY" >.ssh/authorized_keys
    chmod 600 .ssh/authorized_keys
    chown -R smol /home/smol
    EOF

    EXPOSE 8880

    CMD /etc/rc.d/sshd onestart && \
    caddy file-server --listen :8880 --root /home/smol/www
    ```
    Documentation: https://github.com/NetBSDfr/smolBSD/tree/main?tab=readme-ov-file#dockerfile

    Uncategorized

  • TIL about https://github.com/oras-project/orasDo you know what that means
    imil@mastodon.bsd.cafeI imil@mastodon.bsd.cafe

    TIL about https://github.com/oras-project/oras
    Do you know what that means?
    That means:

    $ ./startnb.sh -f etc/foo.conf
    images/foo.img not present, pulling foo from OCI...

    is coming.
    oh boy...

    Uncategorized

  • Speed up your smol vms creations by specifying a proxy!
    imil@mastodon.bsd.cafeI imil@mastodon.bsd.cafe

    Speed up your smol vms creations by specifying a proxy!

    ./docker2svc.sh --build-arg http_proxy="http://192.168.1.1:3128" --build_arg https_proxy="http://192.168.1.1:3128" dockerfiles/Dockerfile.myservice

    Uncategorized

  • For the smolBSD project I came up with this `rsynclite` shell function that might serve you one day https://github.com/NetBSDfr/smolBSD/blob/main/service/common/funcs#L3
    imil@mastodon.bsd.cafeI imil@mastodon.bsd.cafe

    For the smolBSD project I came up with this `rsynclite` shell function that might serve you one day https://github.com/NetBSDfr/smolBSD/blob/main/service/common/funcs#L3

    Uncategorized
  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups