• About TC
  • Affiliate Disclaimer
  • Privacy Policy
  • TOS
  • Contact
Sunday, June 22, 2025
Techcratic
  • TC
  • AI
    Artificial Intelligence

    Normalizing Flows are Capable Generative Models

    Artificial Intelligence

    Update on the AWS DeepRacer Student Portal

    Artificial Intelligence

    INRFlow: Flow Matching for INRs in Ambient Space

    Artificial Intelligence

    Building a custom text-to-SQL agent using Amazon Bedrock and Converse API

    Artificial Intelligence

    How Apollo Tyres is unlocking machine insights using agentic AI-powered Manufacturing Reasoner

    Artificial Intelligence

    Automatically Build AI Workflows with Magical AI

    Artificial Intelligence

    Amazon Nova Lite enables Bito to offer a free tier option for its AI-powered code reviews

    Artificial Intelligence

    Bridging the Gap: New Datasets Push Recommender Research Toward Real-World Scale

    Artificial Intelligence

    7 Python Errors That Are Actually Features

  • Crypto
    Bitget Expands Sports Sponsorships With MotoGP Regional Partnership

    Bitget Expands Sports Sponsorships With MotoGP Regional Partnership

    Bitcoin Surge to $330K Possible As OTC Balances Fall

    Bitcoin Surge to $330K Possible As OTC Balances Fall

    Bitcoin Languishes Below $103K as Global Tensions Rattle Markets

    Bitcoin Languishes Below $103K as Global Tensions Rattle Markets

    CRCL Erupts on Wall Street With 674% Gain — Palihapitiya Calls IPO a $3B Giveaway

    CRCL Erupts on Wall Street With 674% Gain — Palihapitiya Calls IPO a $3B Giveaway

    SOL Risks $120 Retest Despite Bullish Onchain Data

    SOL Risks $120 Retest Despite Bullish Onchain Data

    Bitcoin Price Watch: Downtrend Persists Amid Mixed Technical Signals

    Bitcoin Price Watch: Downtrend Persists Amid Mixed Technical Signals

    Everything Blockchain Commits $10M to Multi-Token Crypto Treasury Including SOL, XRP, SUI, TAO and HYPE

    Everything Blockchain Commits $10M to Multi-Token Crypto Treasury Including SOL, XRP, SUI, TAO and HYPE

    Digital Shift: Parataxis Capital Bets on BTC Strategy in Korean Markets

    Digital Shift: Parataxis Capital Bets on BTC Strategy in Korean Markets

    XRP Whale Holdings are Surging – Is a Big Breakout Coming?

    Rare MVRV Signal Just Flashed

  • Cybersecurity
    Cybersecurity

    Scattered Spider Behind Cyberattacks on M&S and Co-op, Causing Up to $592M in Damages

    Cybersecurity

    Massive 7.3 Tbps DDoS Attack Delivers 37.4 TB in 45 Seconds, Targeting Hosting Provider

    Cybersecurity

    Meta Adds Passkey Login Support to Facebook for Android and iOS Users

    Cybersecurity

    FedRAMP at Startup Speed: Lessons Learned

    Cybersecurity

    CISA Warns of Active Exploitation of Linux Kernel Privilege Escalation Vulnerability

    Cybersecurity

    Ex-CIA Analyst Sentenced to 37 Months for Leaking Top Secret National Defense Documents

    Cybersecurity

    Critical RCE Bug Rated 9.9 CVSS in Backup & Replication

    Cybersecurity

    Hard-Coded ‘b’ Password in Sitecore XP Sparks Major RCE Risk in Enterprise Deployments

    Cybersecurity

    AI Agents Run on Secret Accounts — Learn How to Secure Them in This Webinar

  • Deals
    Toshiba Canvio Basics 2TB Portable External Hard Drive USB 3.0, Black – HDTB520XK3AA

    Toshiba Canvio Basics 2TB Portable External Hard Drive USB 3.0, Black – HDTB520XK3AA

    Samsung 15W Wireless Charger Single, Cordless Super Fast Charging Pad for Galaxy Phones…

    Samsung 15W Wireless Charger Single, Cordless Super Fast Charging Pad for Galaxy Phones…

    1/2″ ISO5675 Hydraulic Quick Coupler Dust Cap and Plug, 4 Sets Rubber Plug Covers for…

    1/2″ ISO5675 Hydraulic Quick Coupler Dust Cap and Plug, 4 Sets Rubber Plug Covers for…

    Patriot Memory Burst Elite SATA 3 240GB SSD 2.5″ 10 Pack Non-Retail Bulk Packaged

    Patriot Memory Burst Elite SATA 3 240GB SSD 2.5″ 10 Pack Non-Retail Bulk Packaged

    Padarsey Replacement Keyboard Compatible with HP Compaq Presario CQ60 G60 CQ60-101XX…

    Padarsey Replacement Keyboard Compatible with HP Compaq Presario CQ60 G60 CQ60-101XX…

    ORICO Magnetic M.2 NVMe 2230 Enclosure AP30 J10 2230 M.2 NVMe SSD 256GB Bundle

    ORICO Magnetic M.2 NVMe 2230 Enclosure AP30 J10 2230 M.2 NVMe SSD 256GB Bundle

    Kingston DataTraveler Max 256GB USB-C Flash Drive with USB 3.2 Gen 2 Performance, Black

    Kingston DataTraveler Max 256GB USB-C Flash Drive with USB 3.2 Gen 2 Performance, Black

    HyperX – Streamer Starter Pack (SoloCast Wired USB Condensor Microphone and Cloud Core…

    HyperX – Streamer Starter Pack (SoloCast Wired USB Condensor Microphone and Cloud Core…

    TEAMGROUP MP44L 1TB SLC Cache NVMe 1.4 PCIe Gen 4×4 M.2 2280 Laptop&Desktop SSD (R/W…

    TEAMGROUP MP44L 1TB SLC Cache NVMe 1.4 PCIe Gen 4×4 M.2 2280 Laptop&Desktop SSD (R/W…

  • Gaming
    PlayStation Showcase 2021 – Summary & Best Bits!

    PlayStation Showcase 2021 – Summary & Best Bits!

    ‘This happened because of the best elements of our community’: Borderlands 4 won’t have a minimap, but thanks to player demand it will have an optional combat radar

    ‘This happened because of the best elements of our community’: Borderlands 4 won’t have a minimap, but thanks to player demand it will have an optional combat radar

    Reacting to NEW FNAF TRAILERS!!!!!

    Reacting to NEW FNAF TRAILERS!!!!!

    ELDEN RING PC Walkthrough Gameplay Part 1 – INTRO (GAMING BUG | GTX 1660 super with 60 FPS)

    ELDEN RING PC Walkthrough Gameplay Part 1 – INTRO (GAMING BUG | GTX 1660 super with 60 FPS)

    Elder Scrolls Oblivion Remastered – Before You Buy

    Elder Scrolls Oblivion Remastered – Before You Buy

    Hand of Malenia Katana Build 2025 VS Main Bosses Level 200 Elden Ring + DLC Patch 1.16

    Hand of Malenia Katana Build 2025 VS Main Bosses Level 200 Elden Ring + DLC Patch 1.16

    Fans Boycott D&D Movie! Will it Bomb?  (Ep. 303)

    Fans Boycott D&D Movie! Will it Bomb? (Ep. 303)

    The Legend of Zelda: Breath of the Wild – Shai Yota Shrine Walkthrough [HD 1080P]

    The Legend of Zelda: Breath of the Wild – Shai Yota Shrine Walkthrough [HD 1080P]

    Survival game Once Human now has custom servers, complete with all manner of tweakable parameters

    Survival game Once Human now has custom servers, complete with all manner of tweakable parameters

  • Tesla
    Car Floor Mats Fit for Tesla Model 3 2019-2024, Waterproof and Non-Slip Floor Mats,…

    Car Floor Mats Fit for Tesla Model 3 2019-2024, Waterproof and Non-Slip Floor Mats,…

    Big Ant Car Seat Cushion, Comfort Memory Foam Driver Seat Cushion Improve Driving View,…

    Big Ant Car Seat Cushion, Comfort Memory Foam Driver Seat Cushion Improve Driving View,…

    FH Group Trimmable Vinyl Floor Mats Front Set – Universal Fit for Cars Trucks and SUVs…

    FH Group Trimmable Vinyl Floor Mats Front Set – Universal Fit for Cars Trucks and SUVs…

    Car Battery Brush,Battery Terminal Brush,Car Accessories,Battery Terminal Cleaner…

    Car Battery Brush,Battery Terminal Brush,Car Accessories,Battery Terminal Cleaner…

    1 PC Car Daytime Running Light Strips, 70In Car Hood Strip Light, Universal Dynamic Scan…

    1 PC Car Daytime Running Light Strips, 70In Car Hood Strip Light, Universal Dynamic Scan…

    Ajxn 2 PCS Car Mirror Extensions, Clip on Side Extension Mirror, Clamp-on Towing…

    Ajxn 2 PCS Car Mirror Extensions, Clip on Side Extension Mirror, Clamp-on Towing…

    Cartist Trunk Mat & Backrest Mat Fits for Toyota RAV4 2019-2025 All Weather Rear Cargo…

    Cartist Trunk Mat & Backrest Mat Fits for Toyota RAV4 2019-2025 All Weather Rear Cargo…

    Central Control Side Anti-Kick Mat Compatible with Tesla Model 3 2017-2023, Model 3…

    Central Control Side Anti-Kick Mat Compatible with Tesla Model 3 2017-2023, Model 3…

    Waterproof USB Hub for Tesla Model 3 Model Y – 2023 2022 2021 Multi Port Retractable…

    Waterproof USB Hub for Tesla Model 3 Model Y – 2023 2022 2021 Multi Port Retractable…

  • UFO
    Bigfoot Solar Lanterns Outdoor Waterproof Hanging Lights UFO Sasquatch Gifts for Men Women Metal Decorative LED Lanterns for Yard Patio Lawn Tabletop Pathway Landscape Garden Decor 1 Pack

    Bigfoot Solar Lanterns Outdoor Waterproof Hanging Lights UFO Sasquatch Gifts for Men Women Metal Decorative LED Lanterns for Yard Patio Lawn Tabletop Pathway Landscape Garden Decor 1 Pack

    Unpredictable Drone Sightings Terrorize New Jersey!

    Unpredictable Drone Sightings Terrorize New Jersey!

    Space Theme Birthday Candle, Shiny Astronaut Number Candle Spaceship Outer Space Cake Topper Perfect Universe Rocket Spacecraft Cake Decorations and Party Favors(Number 7)

    Space Theme Birthday Candle, Shiny Astronaut Number Candle Spaceship Outer Space Cake Topper Perfect Universe Rocket Spacecraft Cake Decorations and Party Favors(Number 7)

    Disney and Pixar’s Toy Story Green Army Man Costume T-Shirt

    Disney and Pixar’s Toy Story Green Army Man Costume T-Shirt

    Top 5 UFO Sightings: The Most Shocking Encounters Ever Recorded!

    Top 5 UFO Sightings: The Most Shocking Encounters Ever Recorded!

    Phoenix Lights Alien Spaceship UFO Believer T-Shirt

    Phoenix Lights Alien Spaceship UFO Believer T-Shirt

    Why Were the Engineers Called Space Jockeys? #shorts #viralvideo #engineer #prometheus #alien #scifi

    Why Were the Engineers Called Space Jockeys? #shorts #viralvideo #engineer #prometheus #alien #scifi

    Have Aliens Ever Visited Earth? #Aliens #UFO #extraterrestrial #SpaceMystery #Unexplained #shorts

    Have Aliens Ever Visited Earth? #Aliens #UFO #extraterrestrial #SpaceMystery #Unexplained #shorts

    NEW EGG shaped UFO photos emerge on Reddit. Are these legit?!

    NEW EGG shaped UFO photos emerge on Reddit. Are these legit?!

No Result
View All Result
  • TC
  • AI
    Artificial Intelligence

    Normalizing Flows are Capable Generative Models

    Artificial Intelligence

    Update on the AWS DeepRacer Student Portal

    Artificial Intelligence

    INRFlow: Flow Matching for INRs in Ambient Space

    Artificial Intelligence

    Building a custom text-to-SQL agent using Amazon Bedrock and Converse API

    Artificial Intelligence

    How Apollo Tyres is unlocking machine insights using agentic AI-powered Manufacturing Reasoner

    Artificial Intelligence

    Automatically Build AI Workflows with Magical AI

    Artificial Intelligence

    Amazon Nova Lite enables Bito to offer a free tier option for its AI-powered code reviews

    Artificial Intelligence

    Bridging the Gap: New Datasets Push Recommender Research Toward Real-World Scale

    Artificial Intelligence

    7 Python Errors That Are Actually Features

  • Crypto
    Bitget Expands Sports Sponsorships With MotoGP Regional Partnership

    Bitget Expands Sports Sponsorships With MotoGP Regional Partnership

    Bitcoin Surge to $330K Possible As OTC Balances Fall

    Bitcoin Surge to $330K Possible As OTC Balances Fall

    Bitcoin Languishes Below $103K as Global Tensions Rattle Markets

    Bitcoin Languishes Below $103K as Global Tensions Rattle Markets

    CRCL Erupts on Wall Street With 674% Gain — Palihapitiya Calls IPO a $3B Giveaway

    CRCL Erupts on Wall Street With 674% Gain — Palihapitiya Calls IPO a $3B Giveaway

    SOL Risks $120 Retest Despite Bullish Onchain Data

    SOL Risks $120 Retest Despite Bullish Onchain Data

    Bitcoin Price Watch: Downtrend Persists Amid Mixed Technical Signals

    Bitcoin Price Watch: Downtrend Persists Amid Mixed Technical Signals

    Everything Blockchain Commits $10M to Multi-Token Crypto Treasury Including SOL, XRP, SUI, TAO and HYPE

    Everything Blockchain Commits $10M to Multi-Token Crypto Treasury Including SOL, XRP, SUI, TAO and HYPE

    Digital Shift: Parataxis Capital Bets on BTC Strategy in Korean Markets

    Digital Shift: Parataxis Capital Bets on BTC Strategy in Korean Markets

    XRP Whale Holdings are Surging – Is a Big Breakout Coming?

    Rare MVRV Signal Just Flashed

  • Cybersecurity
    Cybersecurity

    Scattered Spider Behind Cyberattacks on M&S and Co-op, Causing Up to $592M in Damages

    Cybersecurity

    Massive 7.3 Tbps DDoS Attack Delivers 37.4 TB in 45 Seconds, Targeting Hosting Provider

    Cybersecurity

    Meta Adds Passkey Login Support to Facebook for Android and iOS Users

    Cybersecurity

    FedRAMP at Startup Speed: Lessons Learned

    Cybersecurity

    CISA Warns of Active Exploitation of Linux Kernel Privilege Escalation Vulnerability

    Cybersecurity

    Ex-CIA Analyst Sentenced to 37 Months for Leaking Top Secret National Defense Documents

    Cybersecurity

    Critical RCE Bug Rated 9.9 CVSS in Backup & Replication

    Cybersecurity

    Hard-Coded ‘b’ Password in Sitecore XP Sparks Major RCE Risk in Enterprise Deployments

    Cybersecurity

    AI Agents Run on Secret Accounts — Learn How to Secure Them in This Webinar

  • Deals
    Toshiba Canvio Basics 2TB Portable External Hard Drive USB 3.0, Black – HDTB520XK3AA

    Toshiba Canvio Basics 2TB Portable External Hard Drive USB 3.0, Black – HDTB520XK3AA

    Samsung 15W Wireless Charger Single, Cordless Super Fast Charging Pad for Galaxy Phones…

    Samsung 15W Wireless Charger Single, Cordless Super Fast Charging Pad for Galaxy Phones…

    1/2″ ISO5675 Hydraulic Quick Coupler Dust Cap and Plug, 4 Sets Rubber Plug Covers for…

    1/2″ ISO5675 Hydraulic Quick Coupler Dust Cap and Plug, 4 Sets Rubber Plug Covers for…

    Patriot Memory Burst Elite SATA 3 240GB SSD 2.5″ 10 Pack Non-Retail Bulk Packaged

    Patriot Memory Burst Elite SATA 3 240GB SSD 2.5″ 10 Pack Non-Retail Bulk Packaged

    Padarsey Replacement Keyboard Compatible with HP Compaq Presario CQ60 G60 CQ60-101XX…

    Padarsey Replacement Keyboard Compatible with HP Compaq Presario CQ60 G60 CQ60-101XX…

    ORICO Magnetic M.2 NVMe 2230 Enclosure AP30 J10 2230 M.2 NVMe SSD 256GB Bundle

    ORICO Magnetic M.2 NVMe 2230 Enclosure AP30 J10 2230 M.2 NVMe SSD 256GB Bundle

    Kingston DataTraveler Max 256GB USB-C Flash Drive with USB 3.2 Gen 2 Performance, Black

    Kingston DataTraveler Max 256GB USB-C Flash Drive with USB 3.2 Gen 2 Performance, Black

    HyperX – Streamer Starter Pack (SoloCast Wired USB Condensor Microphone and Cloud Core…

    HyperX – Streamer Starter Pack (SoloCast Wired USB Condensor Microphone and Cloud Core…

    TEAMGROUP MP44L 1TB SLC Cache NVMe 1.4 PCIe Gen 4×4 M.2 2280 Laptop&Desktop SSD (R/W…

    TEAMGROUP MP44L 1TB SLC Cache NVMe 1.4 PCIe Gen 4×4 M.2 2280 Laptop&Desktop SSD (R/W…

  • Gaming
    PlayStation Showcase 2021 – Summary & Best Bits!

    PlayStation Showcase 2021 – Summary & Best Bits!

    ‘This happened because of the best elements of our community’: Borderlands 4 won’t have a minimap, but thanks to player demand it will have an optional combat radar

    ‘This happened because of the best elements of our community’: Borderlands 4 won’t have a minimap, but thanks to player demand it will have an optional combat radar

    Reacting to NEW FNAF TRAILERS!!!!!

    Reacting to NEW FNAF TRAILERS!!!!!

    ELDEN RING PC Walkthrough Gameplay Part 1 – INTRO (GAMING BUG | GTX 1660 super with 60 FPS)

    ELDEN RING PC Walkthrough Gameplay Part 1 – INTRO (GAMING BUG | GTX 1660 super with 60 FPS)

    Elder Scrolls Oblivion Remastered – Before You Buy

    Elder Scrolls Oblivion Remastered – Before You Buy

    Hand of Malenia Katana Build 2025 VS Main Bosses Level 200 Elden Ring + DLC Patch 1.16

    Hand of Malenia Katana Build 2025 VS Main Bosses Level 200 Elden Ring + DLC Patch 1.16

    Fans Boycott D&D Movie! Will it Bomb?  (Ep. 303)

    Fans Boycott D&D Movie! Will it Bomb? (Ep. 303)

    The Legend of Zelda: Breath of the Wild – Shai Yota Shrine Walkthrough [HD 1080P]

    The Legend of Zelda: Breath of the Wild – Shai Yota Shrine Walkthrough [HD 1080P]

    Survival game Once Human now has custom servers, complete with all manner of tweakable parameters

    Survival game Once Human now has custom servers, complete with all manner of tweakable parameters

  • Tesla
    Car Floor Mats Fit for Tesla Model 3 2019-2024, Waterproof and Non-Slip Floor Mats,…

    Car Floor Mats Fit for Tesla Model 3 2019-2024, Waterproof and Non-Slip Floor Mats,…

    Big Ant Car Seat Cushion, Comfort Memory Foam Driver Seat Cushion Improve Driving View,…

    Big Ant Car Seat Cushion, Comfort Memory Foam Driver Seat Cushion Improve Driving View,…

    FH Group Trimmable Vinyl Floor Mats Front Set – Universal Fit for Cars Trucks and SUVs…

    FH Group Trimmable Vinyl Floor Mats Front Set – Universal Fit for Cars Trucks and SUVs…

    Car Battery Brush,Battery Terminal Brush,Car Accessories,Battery Terminal Cleaner…

    Car Battery Brush,Battery Terminal Brush,Car Accessories,Battery Terminal Cleaner…

    1 PC Car Daytime Running Light Strips, 70In Car Hood Strip Light, Universal Dynamic Scan…

    1 PC Car Daytime Running Light Strips, 70In Car Hood Strip Light, Universal Dynamic Scan…

    Ajxn 2 PCS Car Mirror Extensions, Clip on Side Extension Mirror, Clamp-on Towing…

    Ajxn 2 PCS Car Mirror Extensions, Clip on Side Extension Mirror, Clamp-on Towing…

    Cartist Trunk Mat & Backrest Mat Fits for Toyota RAV4 2019-2025 All Weather Rear Cargo…

    Cartist Trunk Mat & Backrest Mat Fits for Toyota RAV4 2019-2025 All Weather Rear Cargo…

    Central Control Side Anti-Kick Mat Compatible with Tesla Model 3 2017-2023, Model 3…

    Central Control Side Anti-Kick Mat Compatible with Tesla Model 3 2017-2023, Model 3…

    Waterproof USB Hub for Tesla Model 3 Model Y – 2023 2022 2021 Multi Port Retractable…

    Waterproof USB Hub for Tesla Model 3 Model Y – 2023 2022 2021 Multi Port Retractable…

  • UFO
    Bigfoot Solar Lanterns Outdoor Waterproof Hanging Lights UFO Sasquatch Gifts for Men Women Metal Decorative LED Lanterns for Yard Patio Lawn Tabletop Pathway Landscape Garden Decor 1 Pack

    Bigfoot Solar Lanterns Outdoor Waterproof Hanging Lights UFO Sasquatch Gifts for Men Women Metal Decorative LED Lanterns for Yard Patio Lawn Tabletop Pathway Landscape Garden Decor 1 Pack

    Unpredictable Drone Sightings Terrorize New Jersey!

    Unpredictable Drone Sightings Terrorize New Jersey!

    Space Theme Birthday Candle, Shiny Astronaut Number Candle Spaceship Outer Space Cake Topper Perfect Universe Rocket Spacecraft Cake Decorations and Party Favors(Number 7)

    Space Theme Birthday Candle, Shiny Astronaut Number Candle Spaceship Outer Space Cake Topper Perfect Universe Rocket Spacecraft Cake Decorations and Party Favors(Number 7)

    Disney and Pixar’s Toy Story Green Army Man Costume T-Shirt

    Disney and Pixar’s Toy Story Green Army Man Costume T-Shirt

    Top 5 UFO Sightings: The Most Shocking Encounters Ever Recorded!

    Top 5 UFO Sightings: The Most Shocking Encounters Ever Recorded!

    Phoenix Lights Alien Spaceship UFO Believer T-Shirt

    Phoenix Lights Alien Spaceship UFO Believer T-Shirt

    Why Were the Engineers Called Space Jockeys? #shorts #viralvideo #engineer #prometheus #alien #scifi

    Why Were the Engineers Called Space Jockeys? #shorts #viralvideo #engineer #prometheus #alien #scifi

    Have Aliens Ever Visited Earth? #Aliens #UFO #extraterrestrial #SpaceMystery #Unexplained #shorts

    Have Aliens Ever Visited Earth? #Aliens #UFO #extraterrestrial #SpaceMystery #Unexplained #shorts

    NEW EGG shaped UFO photos emerge on Reddit. Are these legit?!

    NEW EGG shaped UFO photos emerge on Reddit. Are these legit?!

No Result
View All Result
Techcratic
No Result
View All Result
Home Hacker News

Publishing a Docker container for Microsoft Edit to the GitHub Container Registry

Hacker News by Hacker News
June 21, 2025
in Hacker News
Reading Time: 8 mins read
125
A A
0

2025-06-21 19:20:00
til.simonwillison.net

Microsoft recently released Edit, a new terminal text editor written in Rust. It’s pretty nice – it’s reminiscent of nano but with a retro MS DOS feel.

I wanted to run it on my Apple Silicon Mac. Microsoft don’t (yet) provide compiled builds for that platform, but they do have a release for aarch64-linux-gnu. I figured I’d run that in o Docker container (I have Docker for Desktop installed) to try it out.

One thing lead to another and I ended up creating and shipping a new Docker image to GitHub’s Container Registry. This means anyone with an Apple Silicon Mac and Docker can try out edit against the files in their current directory by running this command:

docker run --platform linux/arm64 -it --rm -v $(pwd):/workspace ghcr.io/simonw/alpine-edit

Hit Ctrl+Q or use your mouse to acces File -> Exit to exit the editor and terminate the container.

Screenshot of the Edit text editor showing the File menu

I did almost all of my figuring out for this project in this 25 minute Claude Conversation. This post is the edited highlights of what I learned.

Running it first as a one-liner

I started by figuring out a shell one-liner for running the binary. This took a few tries – it turned out Microsoft’s compiled binary needed glibc and my first choice of base image, alpine, used musl instead.

I got it working using an Ubuntu base image like this:

docker run --platform linux/arm64 -it --rm \
  -v $(pwd):/workspace \
  -w /workspace ubuntu:latest sh -c "
    apt update && \
    apt install -y zstd curl && \
    curl -L https://github.com/microsoft/edit/releases/download/v1.2.0/edit-1.2.0-aarch64-linux-gnu.tar.zst -o edit.tar.zst && \
    zstd -d edit.tar.zst && \
    tar -xf edit.tar && \
    chmod +x edit && \
    exec bash"

Running this command drops you into Bash in the container – running ./edit then opens the editor.

I managed to get Alpine working too by having it install the gcompat package:

docker run --platform linux/arm64 -it --rm \
  -v $(pwd):/workspace \
  -w /workspace alpine:latest sh -c "
    apk add --no-cache zstd curl gcompat && \
    curl -L https://github.com/microsoft/edit/releases/download/v1.2.0/edit-1.2.0-aarch64-linux-gnu.tar.zst -o edit.tar.zst && \
    zstd -d edit.tar.zst && \
    tar -xf edit.tar && \
    chmod +x edit && \
    exec sh"

Both of these examples take a little while to start as they download a bunch of extra packages every time. I decided to build a reusable image instead.

A multi-stage Docker build

I decided to use Alpine with the gcompat package as it’s smaller than using Ubuntu. I told Claude to use a multi-stage build because I didn’t want the zstd and curl binaries in the final image, just the edit binary itself.

Here’s what we got to:

# Build stage - download and extract the binary
FROM alpine:latest AS builder

# Install tools needed for download/extraction
RUN apk add --no-cache zstd curl

# Download and extract the edit binary
RUN curl -L https://github.com/microsoft/edit/releases/download/v1.2.0/edit-1.2.0-aarch64-linux-gnu.tar.zst -o /tmp/edit.tar.zst \
    && zstd -d /tmp/edit.tar.zst \
    && tar -xf /tmp/edit.tar -C /tmp/ \
    && chmod +x /tmp/edit

# Final runtime stage - minimal image
FROM alpine:latest

# Install only runtime dependencies
RUN apk add --no-cache \
    gcompat \
    libgcc \
    && rm -rf /var/cache/apk/*

# Copy the binary from build stage
COPY --from=builder /tmp/edit /usr/local/bin/edit

# Set working directory
WORKDIR /workspace

# Set the edit binary as the entrypoint
ENTRYPOINT ["/usr/local/bin/edit"]

# Default to current directory if no args provided
CMD ["."]

This has the added bonus that it uses /usr/local/bin/edit as the entrypoint, which means just starting the container will drop you directly into the editor.

I built it like this:

docker build --platform linux/arm64 -t alpine-edit .

And then tested it with this command:

docker run --platform linux/arm64 -it --rm -v $(pwd):/workspace alpine-edit

Publishing to the GitHub Container Registry

GitHub offer a free container registry that can be used to distribute Docker images. I’ve never tried that before, so this felt like a good opportunity to learn how to use it.

First I needed a GitHub Personal Access Token (PAT) with the right permissions to publish to the registry.

  1. GitHub → Settings → Developer settings → Personal access tokens → Tokens (classic) – this page here
  2. Create a new token with these scopes:
    • write:packages
    • read:packages

I logged into the GitHub Container Registry using this command:

docker login ghcr.io -u simonw --password-stdin

I pasted in the token, then hit enter (and nothing happened), then hit Ctrl+D to finish the login. That seemed to work.

I built the image again with a tag for the GitHub Container Registry:

docker build --platform linux/arm64 -t ghcr.io/simonw/alpine-edit:latest .

Then pushed it to the registry with this command:

docker push ghcr.io/simonw/alpine-edit:latest

The published package become available at github.com/users/simonw/packages/container/package/alpine-edit – that page defaulted to private but I clicked on “Package settings” and toggled the visibility to “Public”.

Final step: I created an accompanying repository at github.com/simonw/alpine-edit with the Dockerfile and a README.md explaining how to use it, then used the “Connect Repository” button on the package page to link the two together.

Created 2025-06-21T11:16:26-07:00, updated 2025-06-21T13:35:20-07:00 · History · Edit

Source Link


Keep your files stored safely and securely with the SanDisk 2TB Extreme Portable SSD. With over 69,505 ratings and an impressive 4.6 out of 5 stars, this product has been purchased over 8K+ times in the past month. At only $129.99, this Amazon’s Choice product is a must-have for secure file storage.

Help keep private content private with the included password protection featuring 256-bit AES hardware encryption. Order now for just $129.99 on Amazon!


Start your free Amazon Prime trial
today and unlock unlimited streaming and more!

Help Power Techcratic’s Future – Scan To Support

If Techcratic’s content and insights have helped you, consider giving back by supporting the platform with crypto. Every contribution makes a difference, whether it’s for high-quality content, server maintenance, or future updates. Techcratic is constantly evolving, and your support helps drive that progress.

As a solo operator who wears all the hats, creating content, managing the tech, and running the site, your support allows me to stay focused on delivering valuable resources. Your support keeps everything running smoothly and enables me to continue creating the content you love. I’m deeply grateful for your support, it truly means the world to me! Thank you!

BITCOIN

Bitcoin Logo

Bitcoin QR Code

bc1qlszw7elx2qahjwvaryh0tkgg8y68enw30gpvge

Scan the QR code with your crypto wallet app

DOGECOIN

Dogecoin Logo

Dogecoin QR Code

D64GwvvYQxFXYyan3oQCrmWfidf6T3JpBA

Scan the QR code with your crypto wallet app

ETHEREUM

Ethereum Logo

Ethereum QR Code

0xe9BC980DF3d985730dA827996B43E4A62CCBAA7a

Scan the QR code with your crypto wallet app

Please read the Privacy and Security Disclaimer on how Techcratic handles your support.

Disclaimer: As an Amazon Associate, Techcratic may earn from qualifying purchases.

Tags: Hacker News
Share161Share28ShareShare4ShareTweet101
Previous Post

Bitcoin Surge to $330K Possible As OTC Balances Fall

Next Post

Space Theme Birthday Candle, Shiny Astronaut Number Candle Spaceship Outer Space Cake Topper Perfect Universe Rocket Spacecraft Cake Decorations and Party Favors(Number 7)

Hacker News

Hacker News

Stay updated with Hacker News, where technology meets entrepreneurial spirit. Get the latest on tech trends, startup news, and discussions from the tech community. Read the latest updates here at Techcratic.

Related Posts

tsoding/b: Compiler for the B Programming Language implemented in Crust
Hacker News

tsoding/b: Compiler for the B Programming Language implemented in Crust

June 22, 2025
1.3k
Axolotls May Hold the Key to Regrowing Limbs, and Scientists Are Unraveling Their Secrets to Help Humans Do the Same
Hacker News

Axolotls May Hold the Key to Regrowing Limbs, and Scientists Are Unraveling Their Secrets to Help Humans Do the Same

June 21, 2025
1.3k
The infamous Apple typewriter memo is 40 years old …
Hacker News

The infamous Apple typewriter memo is 40 years old …

June 21, 2025
1.3k
dan-v/lambda-nat-proxy: A serverless proxy implementation that uses NAT hole punching to establish QUIC tunnels through AWS Lambda functions
Hacker News

dan-v/lambda-nat-proxy: A serverless proxy implementation that uses NAT hole punching to establish QUIC tunnels through AWS Lambda functions

June 21, 2025
1.3k
Microsoft’s New CLI Text Editor Works Great on Ubuntu
Hacker News

Microsoft’s New CLI Text Editor Works Great on Ubuntu

June 21, 2025
1.3k
Delta Chat, decentralized secure messenger
Hacker News

Delta Chat, decentralized secure messenger

June 21, 2025
1.3k
GitHub – ipenas-cl/AtomicOs: AtomicOS – A security-first operating system built from scratch.
Hacker News

GitHub – ipenas-cl/AtomicOs: AtomicOS – A security-first operating system built from scratch.

June 20, 2025
1.3k
ebbejan/tux-racer-js: Play Tux Racer in your browser!
Hacker News

ebbejan/tux-racer-js: Play Tux Racer in your browser!

June 20, 2025
1.3k
Load More
Next Post
Space Theme Birthday Candle, Shiny Astronaut Number Candle Spaceship Outer Space Cake Topper Perfect Universe Rocket Spacecraft Cake Decorations and Party Favors(Number 7)

Space Theme Birthday Candle, Shiny Astronaut Number Candle Spaceship Outer Space Cake Topper Perfect Universe Rocket Spacecraft Cake Decorations and Party Favors(Number 7)

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Your Tech Resources

  • 30 Second Tech ™
  • AI
  • App Zone ™
  • Apple
  • Ars Technica
  • CNET
  • ComputerWorld
  • Crypto News
  • Cybersecurity
  • Endgadget
  • Forbes
  • Fossbytes
  • Gaming
  • GeekWire
  • Gizmodo
  • Google News
  • Hacker News
  • Harvard Tech
  • I Like Cats ™
  • I Like Dogs ™
  • LifeHacker
  • MacRumors
  • Macworld
  • Mashable
  • Microsoft
  • MIT Tech
  • PC World
  • Photofocus
  • Physics
  • Random Tech
  • Retro Rewind ™
  • Robot Report
  • SiliconANGLE
  • SlashGear
  • Smartphone
  • StackSocial
  • Tech Art
  • Tech Careers
  • Tech Deals
  • Techcratic ™
  • TechCrunch
  • Techdirt
  • TechRepublic
  • Techs Got To Eat ™
  • TechSpot
  • Tesla
  • The Verge
  • TNW
  • Trusted Reviews
  • UFO
  • VentureBeat
  • Visual Capitalist
  • Wired
  • ZDNet

Tech News

  • 30 Second Tech ™
  • AI
  • Apple Insider
  • Ars Technica
  • CNET
  • ComputerWorld
  • Crypto News
  • Cybersecurity
  • Endgadget
  • ExtremeTech
  • Fossbytes
  • Gaming
  • GeekWire
  • Gizmodo

Tech News

  • Harvard Tech
  • MacRumors
  • Macworld
  • Mashable
  • Microsoft
  • MIT Tech
  • Physics
  • PC World
  • Random Tech
  • Retro Rewind ™
  • SiliconANGLE
  • SlashGear
  • Smartphone
  • StackSocial
  • Tech Careers

Tech News​

  • Tech Art
  • TechCrunch
  • Techdirt
  • TechRepublic
  • Techs Got To Eat ™
  • TechSpot
  • Tesla
  • The Verge
  • TNW
  • Trusted Reviews
  • UFO
  • VentureBeat
  • Visual Capitalist
  • Wired
  • ZDNet

Site Links

  • About Techcratic
  • Affiliate Disclaimer
  • Affiliate Link Policy
  • Contact Techcratic
  • Dealors Discount Store
  • Privacy and Security Disclaimer
  • Privacy Policy
  • RSS Feed
  • Site Map
  • Support Techcratic
  • Techcratic
  • Tech Deals
  • TOS
  • 𝕏
Click For A Secret Deal

Techcratic – Your All In One Tech Hub © 2020 – 2025
All Rights Reserved
∞

No Result
View All Result
  • 30 Second Tech ™
  • AI
  • App Zone ™
  • Apple
  • Ars Technica
  • CNET
  • Crypto News
  • Cybersecurity
  • Endgadget
  • Gaming
  • I Like Cats ™
  • I Like Dogs ™
  • MacRumors
  • Macworld
  • Tech Deals
  • Techcratic ™
  • Techs Got To Eat ™
  • Tesla
  • UFO
  • Wired