Sign inSign up

yvalencia/ubatom

By yvalencia

Updated almost 7 years ago

Launch atom editor v1.41.0 into ubuntu:latest container

Image
0

972

yvalencia/ubatom repository overview

This will help you create the container in just one bash script. Hope is useful for you!

#! /bin/bash

echo "Input name for the container: "

read container_name

echo "Pulling ubuntu with atom editor container"

docker pull yvalencia/ubatom

echo "Creating and binding atom folder"

mkdir -p ~/Documents/atom

docker create --name $container_name -ite DISPLAY --net=host -v /tmp/.X11-unix -v ~/Documents/atom:/home/atom yvalencia/ubatom bash

echo "Initializing $container_name container..."

docker start $container_name

echo "Opening atom editor..."

docker exec -d $container_name atom .

echo "Done!"

Tag summary

Content type

Image

Digest

Size

374.8 MB

Last updated

almost 7 years ago

docker pull yvalencia/ubatom