sudo not found docker
# FROM ubuntu:12.04
# RUN
apt-get update
# And
apt-get -y install sudo
#RUN
useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
USER docker
CMD /bin/bash
sudo not found docker
# FROM ubuntu:12.04
# RUN
apt-get update
# And
apt-get -y install sudo
#RUN
useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
USER docker
CMD /bin/bash
docker /bin/sh: apt-get: not found
check if you're using alpine linux inside the docker.
If this is the case, you may use apk command instead of apt
Check here some examples:
https://platformengineer.com/install-vi-bash-curl-on-alpine-linux/
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us