FAQ

IndexTagsArchivesAbout
  • Delete all local git branches

    2023-02-14

    Question I follow a development process where I create a new local branch for every new feature or story card. When finished I merge the branch into master and then push. What tends to happen over time due to a combination of laziness or forgetfulness, is that I end up with a large list of local branches, some of which (such as spikes) may not have been merged. I know how to list all my local branches and I know how to remove a single branch but I was wondering if there was a git command that allows me to delete all my local branches?…

    #git

  • Docker - Ubuntu - bash: ping: command not found

    2023-02-14

    Question I've got a Docker container running Ubuntu which I did as follows: docker run -it ubuntu /bin/bash however it doesn't seem to have ping. E.g. bash: ping: command not found Do I need to install that? Seems a pretty basic command to be missing. I tried whereis ping which doesn't report anything. Answer Docker images are pretty minimal, but you can install ping in your official ubuntu docker image via:…

    #ubuntu

  • Docker command can't connect to Docker daemon

    2023-02-14

    Question I want to make a move to Docker, so I've just started to mess around with it. I've installed Docker on a VirtualBox Ubuntu 15.10 (Wily Werewolf) installation and as suggested here I then tried running a basic nginx Docker image: $ docker run --name mynginx1 -P -d nginx Cannot connect to the Docker daemon. Is the docker daemon running on this host? So I checked out whether Docker was running:…

    #linux

  • Docker error : no space left on device

    2023-02-14

    Question I installed docker on a Debian 7 machine in the following way $ echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list $ sudo apt-get update $ curl -sSL https://get.docker.com/ubuntu/ | sudo sh After that when I first tried creating an Image it failed with the following error time="2015-06-02T14:26:37-04:00" level=info msg="[8] System error: write /sys/fs/cgroup/docker/01f5670fbee1f6687f58f3a943b1e1bdaec2630197fa4da1b19cc3db7e3d3883/cgroup.procs: no space left on device" Here is the docker info Containers: 2 Images: 21 Storage Driver: aufs Root Dir: /var/lib/docker/aufs Backing Filesystem: extfs Dirs: 25 Dirperm1 Supported: true Execution Driver: native-0.…

    #ubuntu

  • Docker Error bind: address already in use

    2023-02-14

    Question When I run docker-compose up in my Docker project it fails with the following message: Error starting userland proxy: listen tcp 0.0.0.0:3000: bind: address already in use netstat -pna | grep 3000 shows this: tcp 0 0 0.0.0.0:3000 0.0.0.0:* LISTEN - I've already tried docker-compose down, but it doesn't help. Answer This helped me: docker-compose down # Stop container on current dir if there is a docker-compose.yml docker rm -fv $(docker ps -aq) # Remove all containers sudo lsof -i -P -n | grep <port number> # List who's using the port and then: kill -9 <process id> (macOS) or sudo kill <process id> (Linux).…

    #ubuntu

  • Eclipse cannot load SWT libraries

    2023-02-14

    Question Every time I try to open Eclipse in Ubuntu 12.04 I get an Unsatisfied Link Error and it will not open. I have recently installed the java JDK and Android SDK, could this be the problem? I followed this tutorial. Here is the log info: !SESSION 2012-04-15 21:05:46.902 ----------------------------------------------- eclipse.buildId=I20110613-1736 java.version=1.7.0 java.vendor=Oracle Corporation BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_GB Command-line arguments: -os linux -ws gtk -arch x86_64 !ENTRY org.eclipse.osgi 4 0 2012-04-15 21:05:47.…

    #java

  • ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

    2023-02-14

    Question I have been following a manual to install a software suite on Ubuntu. I have no knowledge of MySQL at all. I have done the following installations on my Ubuntu. sudo apt-get update sudo apt-get install mysql-server-5.5 sudo apt-get install mysql-client-5.5 sudo apt-get install mysql-common sudo apt-get install glade sudo apt-get install ntp Then I do cd ~/Desktop/iPDC-v1.3.1/DBServer-1.1 mysql -uroot -proot <"Db.sql" I ended up with the following error message.…

    #mysql

  • «
  • 41
  • 42
  • 43
  • 44
  • 45
  • »

©2023 hugo-notepadium-mod

CC BY-NC-SA 4.0 | RSS

Powered by Hugo and the Notepadium-mod

^ TOP ^