LoginSignup
2
2

More than 5 years have passed since last update.

boot2docker ipの出力からメッセージ部分を取り除く

Last updated at Posted at 2014-12-25

boot2docker ipの出力に余計なメッセージが出る

$ boot2docker ip

The VM's Host only interface IP address is: 192.168.59.103

以下のようにするとIP部分だけ取れる.

echo $(boot2docker ip 2>/dev/null)

けど1.3.3(boot2docker cliのバージョン)以降は余分なメッセージは出なくなるらしい。

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2