When you open a Docker Console for the first time, Token2Shell builds a default container image (token2shell/console) based on Ubuntu OS. The following is the Dockerfile Token2Shell uses for building this image:
# Docker containers are intended to run a single app. Thus official OS container # images have minimal set of tools and settings so they can be easily configured # and efficient for running that particular app. FROM ubuntu # Install commonly used command-line tools. RUN apt-get update && apt-get install -y man-db openssh-client vim wget zip unzip iputils-ping # Setup locale. Without these settings, the locale is set to 'POSIX' and may cause # problems when using non-ASCII characters. RUN apt-get install -y locales locales-all ENV LC_ALL en_US.UTF-8 ENV LANG en_US.UTF-8 ENV LANGUAGE en_US.UTF-8 # Download the official statically linked Docker executables in TGZ format, # and extract only the 'docker' client program. # To download the latest version, sort and egrep is used. RUN wget --progress=bar:force:noscroll -O- https://download.docker.com/linux/static/stable/x86_64/\ $(wget -qO- https://download.docker.com/linux/static/stable/x86_64/ \ | egrep -o "docker-[0-9\.]+\-ce.tgz" | sort -u | tail -1) \ | tar xz -C /usr/bin/ --strip-components=1 docker/docker # Creates an 'update-docker' script file that can be used to update # the 'docker' client program later on. RUN mkdir -p /root/bin && echo 'wget --progress=bar:force:noscroll \ -O- https://download.docker.com/linux/static/stable/x86_64/\ $(wget -qO- https://download.docker.com/linux/static/stable/x86_64/ \ | egrep -o "docker-[0-9\.]+\-ce.tgz" | sort -u | tail -1) \ | tar xz -C /usr/bin/ --strip-components=1 docker/docker ; docker -v' \ > /root/bin/update-docker && chmod 755 /root/bin/update-docker # Adds '/root/bin' directory to the PATH ENV PATH=$PATH:/root/bin